How can I plot a 3D building or Ploygon on a Google map?

tony_thescientist

New member
Jan 12, 2015
0
0
0
How can I plot a 3D building or Ploygon on a google map

I used this code and I got the 2D polygon but I want a 3D view or block :

Polygon polygon2 = mMap.addPolygon(new PolygonOptions()
// .add(new LatLng(0, 0), new LatLng(0, 5), new LatLng(3, 5), new LatLng(0, 0))
.add(new LatLng(6.822288, -58.134665), new LatLng(6.822160, -58.134215), new LatLng(6.821691, -58.134472), new LatLng(6.821819, -58.134923))
.strokeColor(Color.GREEN)
.zIndex(3.5f)
.geodesic(true)
.fillColor(Color.BLUE));
 

Forum statistics

Threads
955,907
Messages
6,966,073
Members
3,163,423
Latest member
Brandym2929