We have a problem creating polygons, since these do not appear on the map drawn us as we guide tutorial using the following link:
http://googlemaps.subgurim.net/ejemplos/ejemplo_94100_Pol%C3%ADgonos.aspx
The application is developed in visual basic. Net framework version 4.
This is part of our code where we are generating the polygon on the map.
Dim latlng As New GLatLng(46, 21)
GMap1.setCenter(latlng, 4)
Dim puntos As New List(Of GLatLng)()
puntos.Add(latlng + New GLatLng(0, 8))
puntos.Add(latlng + New GLatLng(-0.5, 4.2))
puntos.Add(latlng)
puntos.Add(latlng + New GLatLng(3.5, -4))
puntos.Add(latlng + New GLatLng(4.79, +2.6))
Dim poligono As New GPolygon(puntos, "557799", 3, 0.5, "237464", 0.5)
poligono.close()
GMap1.Add(poligono)
We thank who can provide help to solve ...
Go to the complete details ...