I've used Global Mapper and Google API to georegister a client-supplied map, create tiles from it, and wrap it over Google Maps. It works nicely and it's sitting on my server -- it's just an html file that reads the map tiles and displays them on Google.
Then I created a kml file that displays addresses within the same map area (the addresses are new, from the client's development project), and made a MyMaps map out of it. How do I get those same addresses to display on the first map that I created?
Charles Syrett
Map Graphics
http://www.mapgraphics.com
Map wrapped over Google Maps
Started by
Charles Syrett
, Sep 12 2010 09:12 PM
1 reply to this topic
#1
Posted 12 September 2010 - 09:12 PM
#2
Posted 12 September 2010 - 11:07 PM
If you are using at least version2 of the Google Maps API, you can create a KML overlay and add it to your map.
Here is the documentation: http://code.google.c...ml#XML_Overlays
And an example if you want to view the source: http://code.google.c...geoxml-kml.html
Another option is to parse the KML in javascript and get the placemarks that way. KML is just xml so you can treat it the same way. This might be more complicated.
It looks like version three actually has something called a KMLlayer. I've never used it, but here is an example:
http://gmaps-samples...ers/layers.html
Cheers,
David
Here is the documentation: http://code.google.c...ml#XML_Overlays
And an example if you want to view the source: http://code.google.c...geoxml-kml.html
Another option is to parse the KML in javascript and get the placemarks that way. KML is just xml so you can treat it the same way. This might be more complicated.
It looks like version three actually has something called a KMLlayer. I've never used it, but here is an example:
http://gmaps-samples...ers/layers.html
Cheers,
David
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users


Sign In
Create Account

Canada
Back to top
United States








