Hi all, newbie question.
I would like to add maps to my drupal site. The maps would be configured dynamically depending on the particular user query, eg "show me all parks in France" or "show me all libraries within 50 miles of my home".
I am trying to understand the best way to implement googlemaps on my site.
Would it be better to code directly with the googlemaps api?
Or better to use the gmaps+locations modules?
At first newbie-glance, the googlemaps api looks relatively simple, and I imagine would offer the most flexibility. I am guessing, though, that the apparent simplicity of the googlemaps api is misleading, and that going with gmaps+locations would save me a lot of work.
Any thoughts on the relative pros and cons of these two approaches?
Thank you!!
Mindy
Comments
KML Option
Hi,
You have another option... using KML feed (KML.module) and then embedding content from Gmaps. Gmaps goes to your site to get the KML file, then renders this which happens to be embedded in an iframe on your site.
The term link you give to Gmaps to render will determine which nodes it shows on the map.
This is how the maps on http://nobmob.com/rides currently work.
I suppose the gmaps.module should be used for that but I didn't figure it out yet.
Robin
If you use gmap and
If you use gmap and location, although both those modules have issues (and Bdragon is doing fine work fixing lots of them), you'll then get views support via gmap_views and the rest which starts to make those queries easier to handle - and as the modules improve you'll get all the benefits supplied as they do, along with free upgrade paths etc.