Posted by drupalok on June 12, 2009 at 4:41pm
Jump to:
| Project: | GMap Addons |
| Version: | 6.x-1.x-dev |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
i try to make the following work:
VIEW (node) with GMAP as display
adjusted gmap macro: [gmap |overlay=kml:http://www.katholische-notfallseelsorge-muenchen.de/regionen.kml]
RESULT: error message popup (cant read it because its not complete) and no KML overlay
what do i do wrong?
thanks for helping!
Comments
#1
Trying to figure this out as well. The question is, how to add a KML overlay to a Gmap Style View? The gmap_overlays/README.txt is not very helpful for newbs to gmap.
#2
OK, got it working. Here are my steps:
1. Add Node View
2. Add Page Display
3. Set Path
4. Change Style to GMap
5. Change settings for GMap style. Add a macro (or two):
[gmap |overlay=kml:http://gcrc.uga.edu/public/uploads/GCE_site_boundaries_20090724T114716.kml]
[gmap |overlay=kml:http://www.ancientforestnationalpark.org/AncientForestParkGoogleEarth.kml]
Note: I found these kml files on the web by googling "polygon filetype:kml"
6. At this point, you will need to add fields (a requirement of Views). I followed this tutorial the first time I experimented with Gmap + Views. If this part confuses you, you've got a ways to go.
7. Save and navigate to the Path URL.
Notes:
- If you get an annoying popup window that says only "gmap-auto1map-gmap0" this issue may help #341589: Browser error on overlay
- I believe you have to do step 6 although it would be nice to be able to create a Views Gmap with out having to add fields. Suggestions on this topic?
#3
Thanks for your link and notes, helped a lot!