I'm using XCode to create a Mashup, where I'm just at the beginning practicing overlaying map images over google. I was able to run the example of Newark, NJ on the simulator.
However when I tried overlaying an JPG or PNG map image from my webserver, it didn't display the my images. It just shows the Google map. URL Link: (https://webdisk.ucalgary.ca/~snaqvi/public_html/images/ Calgary-Roads.jpg) Here is some relevant code: function initialize() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map_canvas")); map.setCenter(new GLatLng(51.028262,-114.070038), 12); // SW followed by NE corner of the Rectangle var boundaries = new GLatLngBounds(new GLatLng (50.845789,-113.903875),new GLatLng(51.187289,-114.276467)); var oldmap = new GGroundOverlay("https://webdisk.ucalgary.ca/~snaqvi/ public_html/images/Calgary-Roads.jpg", boundaries); map.addOverlay(oldmap); } } ... .. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
