Closed (fixed)
Project:
Trackfield
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Nov 2009 at 15:31 UTC
Updated:
11 Dec 2009 at 19:20 UTC
I would like to be able to show all of the different submitted tracks on one map
Is there a way to do this - or do I need to use a location field and a separateMadapple gmap view?
Comments
Comment #1
raintonr commentedSorry, but there is no current way to do this... easily at least.
This might change with a fix here #306528: Views 2.x support for KML module
Until then, it is possible to create yourself a small module to emulate what views might do, I wrote about that here:
http://drupal.org/node/306528#comment-1776000
When you have a view or page that outputs the appropriate KML it is possible to have Google Maps load the output from that. An example of this how NoBMoB works. Eg, all the tracks (and pictures for that matter) form Manly Dam:
http://maps.google.com.au/?q=http://nobmob.com/node/12/kml
You can actually embed such a map into your by adding the
output=embedvariable and putting the contents in an iFrame:http://maps.google.com.au/?q=http://nobmob.com/node/12/kml&output=embed
This is how the maps on this page are generated, even though they don't actually show tracks, just for clarity:
http://nobmob.com/rides
Comment #2
raintonr commentedHere's another example of how this looks:
http://nobmob.com/node/10/map
Comment #3
Madapple commentedwow... ok that might be more trouble than its worth.
Comment #4
raintonr commentedI can assure you it isn't very hard at all, and it's certainly worth the effort.