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.

Archive

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

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

Google map


Reply

2 Posts   1173 Views

Avatar
Tareq

23 October 2008 at 12:47am Community Member, 8 Posts

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

Avatar
justjc51

27 October 2008 at 11:23pm Community Member, 23 Posts

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