this is what I see ( I have scripts ENabled
)
Here you should see an interactive map, but you either have scripting disabled or your browser is not supported by Google Maps. Alternatively, This is a link to open a street map.
You see, when I use google maps, I use the google-generated code. The only difference I see is that you do not have the cdata part in your code. Without this, my map does not show either.
An example of what I have on my page apart from the initall script and API key from google is
Code:
//<![CDATA[
function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(18.975, 72.8258333), 13);
}
var map = new GMap2(document.getElementById("map"));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
map.setCenter(new GLatLng(18.975, 72.8258333), 13);
}
//]]>
When you requested an API key from google, did it not give you something
similar to this to use?
Bookmarks