Hi!
My mission is to create a map that is easy to filter, such as http://www.gimmie.se/search/sverige. If you drag the sliders around, you can see that the markers appears/disappears instantly.
This site uses Drupal, Gmap and Views to create the map. I've also accomplished that, but I want to be able to filter my markers just as easy. I believe the way to go is a Javascript that checks every marker in the map object for values, and then hides/shows the marker if the value matches the filter.
Now, if you view a marker object on the Gimmie map through Firebug, you can see that it contains an object called "fields", which contains the node fields. (Drupal.settings.gmap.search.markers[0].fields)
The thing i need help with, is to add the fields object to the markers. I have absolutely no idea on how to accomplish this. After a lot of searching, I found http://groups.drupal.org/node/30074#comment-99088 which describes exactly what I want to do. However, this is for Drupal 5, and I can't get it to work with Drupal 6.
I'm using Drupal 6.16, Views 2.11 and the latest dev of GMap 1.x.
Help appreciated!
Comments
I would also like to do this.
I would also like to do this. Have you figured out a way?
I have achieved this
I have achieved this but with using openlayers, and views to map out node locations and with a little jquery sauce I've integrated quicktabs that include a table list view.
So I have a content pane, and an attachment table styled list view.
I will be putting together a screencast soon on how to achieve this.
Joshua Needham
WebMob Development, LLC(formerly App Ventures, LLC)
http://WebMobDev.com
Curious to learn. thx
Curious to learn.
thx