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

raintonr’s picture

Status: Active » Fixed

Sorry, 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=embed variable 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

raintonr’s picture

Here's another example of how this looks:

http://nobmob.com/node/10/map

Madapple’s picture

wow... ok that might be more trouble than its worth.

raintonr’s picture

I can assure you it isn't very hard at all, and it's certainly worth the effort.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.