Jump to:

7940 Posts in 1543 Topics by 946 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: 868 Views
  • snaip
    Community Member
    180 Posts

    Data Object Manager and Google Maps Link to this post


    i tried to make google maps with Data Object Manager

    each marker has own coordinates Lat, Lng

    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));

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

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.