Jump to:

7939 Posts in 1472 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Data Object Manager and Google Maps

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1
Go to End
Author Topic: 822 Views
  • snaip
    Avatar
    Community Member
    180 Posts

    Data Object Manager and Google Maps Link to this post

    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 %>

    822 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.