I apologize there was a typo, please try the link now, and you'll see what the issue is:
https://webdisk.ucalgary.ca/~snaqvi/public_html/images/map.html On Apr 6, 11:09 pm, "[email protected]" <[email protected]> wrote: > On Apr 6, 4:45 pm, Salman Naqvi <[email protected]> wrote: > > > Here is the link that that I forgot the last time: > > >https://webdisk.ucalgary.ca/~snaqvi/public_html/images/map.html > > The > image:https://webdisk.ucalgary.ca/~snaqvi/public_html/images/CalgaryRoads.jpg > > gives me this message: > Username or Directory not found. > > You sure that URL is correct? > > -- Larry > > > > > On Mon, Apr 6, 2009 at 2:04 PM, Salman Naqvi <[email protected]>wrote: > > > > Larry, I appreciate your prompt reply: > > > I've attached the a PDF file showing 2 outputs on the simulator, and here > > > is the txt of the "map.html". > > > > <!DOCTYPE html "-//W3C//DTD XHTML 1.0 Strict//EN" > > > > <html xmlns="http://www.w3.org/1999/xhtml" > > > xmlns:v="urn:schemas-microsoft-com:vml"> > > > <head> <meta http-equiv="content-type" content="text/html; > > > charset=utf-8"/> > > > <title>Google Maps JavaScript API Example</title> > > > > <script src=" > > >http://maps.google.com/maps?file=api&v=2&sensor=true_or_false...<http://maps.google.com/maps?file=api&v=2&sensor=true_or_false&key=ABQ...> > > > " > > > type="text/javascript"> > > > </script> > > > <script type="text/javascript"> > > > > function initialize() > > > { > > > if (GBrowserIsCompatible()) > > > { > > > var map = new GMap2(document.getElementById("map_canvas")); > > > map.setCenter(new GLatLng(51.046554,-114.066424), 12); > > > var boundaries = new GLatLngBounds(new > > > GLatLng(50.845789,-113.903875),new GLatLng(51.187289,-114.276467));//with > > > Calgary-Roads > > > var oldmap = new GGroundOverlay(" > > >https://webdisk.ucalgary.ca/~snaqvi/public_html/images/CalgaryRoads.jpg<https://webdisk.ucalgary.ca/%7Esnaqvi/public_html/images/CalgaryRoads...>", > > > boundaries); > > > map.addControl(new GSmallMapControl()); > > > map.addControl(new GMapTypeControl()); > > > map.addOverlay(oldmap); > > > } > > > } > > > </script> > > > </head> > > > <body onload="initialize()" onunload="GUnload()"> <div id="map_canvas" > > > style="width: 500px; height: 600px"></div> </body> > > > </html> > > > > On Mon, Apr 6, 2009 at 12:47 AM, [email protected] < > > > [email protected]> wrote: > > > >> On Apr 5, 9:35 pm, Stampeder <[email protected]> wrote: > > >> > 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/<https://webdisk.ucalgary.ca/%7Esnaqvi/public_html/images/> > > >> > Calgary-Roads.jpg) > > > >> > Here is some relevant code: > > > >> It works for me: > > >>http://www.geocodezip.com/Georgia_egroundoverlay.html > > > >> Please follow the posting guidelines: > > > >>http://groups.google.com/group/Google-Maps-API/web/suggested-posting-... > > > >> And post a link to your map that shows the problem. Then we can > > >> decide which parts of the code are relevant. > > > >> -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
