Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Data Object Manager and Google Maps


Reply


924 Views

Avatar
snaip

Community Member, 180 Posts

25 July 2009 at 2:50am

hi

i tried to make google maps with Data Object Manager

each marker has own coordinates Lat, Lng
http://img10.imageshack.us/img10/9846/gmapsu.jpg

i can draw markers but can't draw polyline between them

this is my template code

<% control Testimonials %>
      var marker = new GMarker(new GLatLng($Lat,$Lng));
       mapa.addOverlay(marker);

var line = new GPolyline(new GLatLng($Lat,$Lng),'#D61A1A',4,0.8);
mapa.addOverlay(line);
<% end_control %>