On Apr 14, 7:36 am, Veresk <[email protected]> wrote:
> Our city (http://www.google.com/maps?
> ie=UTF8&ll=42.96754,47.492781&spn=0.048046,0.077162&z=14) does not
> have maps with the names of streets in the GoogleMaps. There's only
> satellite map. But I have a JPG file with houses and streets of our
> city. How can I add information to the google map from the jpg file?
> This example code is most effective?
>
> var map = new GMap2(document.getElementById("map_canvas"));
> map.setCenter(new GLatLng(40.740, -74.18), 12);
> var boundaries = new GLatLngBounds(new GLatLng(40.716216,-74.213393),
> new GLatLng(40.765641,-74.139235));
> var NewMap = new GGroundOverlay("http://www.lib.utexas.edu/maps/
> historical/makh.jpg", boundaries);
> map.addOverlay(NewMap);

That should work, provided that the JPG file actually exists. If you
can't get it to work, please post a real url so we can see what you do.

-- 
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.

Reply via email to