We have a problem creating polygons, as they do not appear on the map. We have followed this tutorial to implement our solution: 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 this problem we have.
Attachment I leave a map image, which if located according to the coordinates given but considering that the polygon is not displayed.