- i dont have a site, but run an apache server on my local network
- i'm trying to do the simplist case of map overlay and it does not
work. Is this because of locahost issues?
function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.addControl(new GSmallMapControl());
//#Begin Tile Overlay
var tileLayerOverlay = new GTileLayerOverlay(
new GTileLayer(null, null, null, {
tileUrlTemplate: 'http://localhost:402/img/gm_0_0_0.png',
isPng:true,
opacity:1.0
})
);
//Add it to map
map.addOverlay(tileLayerOverlay);
//End Tile Overlay
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---