By darylharr on
This is my first post to the Drupal Forums and I am new to Drupal.
I have successfully installed Drupal 6.14, Openlayers, CCK, Geo, Image, Advanced Help, Lighbox2 and Views 2 and developed a working site.
I need to display a KML overlay of some linework on top of a Google basemap and can't seem to find a way to do so. I have looked through the documentation at http://docs.openlayers.org/library/layers.html and the forums and found some examples with code that might work, but I'm not sure WHERE this code needs to be inserted.
Any help would be appreciated.
Daryl
Comments
KML
I'm wrestling with the same problem I think. I've managed display a route on a Google Map with KML generated by Google Earth - that was using the Trackfield module and GMAP. It didn't require any coding but I can't get more than one route to show on a map. I'm looking at the GMAP add-ons and OpenLayers in the hope that one of them will be the answer. If I get anywhere I'll post an update.
Dave.
KML overlay
In the end I managd to do this by referencing multiple kml files in a GMAP macro and then using Gmapfield to insert a field that will accept the macro and render the map.
KML Overlay with Gmap Macro
I'm struggling to figure out how to display KML overlays using a macro in Gmapfield. Would you be willing to share the syntax you used to make this work? I'm assuming you were using network links for the kml, right?
hi
Id like to overlay a kml file in my embedded Google Earth. Please share your code. Im not sure how you managed to do this in a Macro
please share code for the macro
How did you build that macro? Can you give an example?