Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Google map

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1152 Views
  • Tareq
    Avatar
    Community Member
    8 Posts

    Google map Link to this post

    Hi ,

    i have tried for Google map , its working fine on IE6 .

    But it unable to load on Fire Fox 2/3 and all browser exceplt IE6.
    If any done this b4 plz guide me

    <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAL9p-ttSpSXjZhfVNwtcp1xTYWXSD7CGyIvJDLwBds4cM4TwQsRRP9s4HXyCkkgtMtdDRNHeeSCMOIw"
    type="text/javascript"></script>
    <script type="text/javascript">

    //<![CDATA[

    function load() {
    if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"),
    { size: new GSize(350,293) } );
    //var map = new GMap2(document.getElementById("map"));

          map.setCenter(new GLatLng(51.5002, -0.1262), 13);
          
          map.addControl(new GLargeMapControl());
          map.addControl(new GMapTypeControl());
        }
    }

    //]]>
    </script>

    <div id="map" style="width:350px; height:293px"></div>
    thanx
    tareq

  • justjc51
    Avatar
    Community Member
    23 Posts

    Re: Google map Link to this post

    Try having a look at http://www.silverstripe.com/site-builders-forum/flat/150224 that you would have found if you did the search Google Maps firefox ;)

    1152 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.