Hello,
Gmap is working fine but how to display node titles in markers? Otherwise how to create a legend listing the markers?
Thanks

Comments

indianroo’s picture

How are you creating the GMAP - with Views? Whatever fields you include in the View output,
they will be displayed in an info box when you click on the Marker. If you are wanting the title to appear
as text on the map, or create a legend that's more complex.

spasmody’s picture

Yes indianroo, that's the question : I actually want to display the title as text directly on the map (with the marker).
Is it possible?

indianroo’s picture

I guess you basically want a labelled marker which is definitely possible but would be a bit of work.
There's a blog post somewhere on doing this in Javascript using Google Maps API directly but not sure
if anyone has done it for Drupal GMAP.

wiredescape’s picture

I noticed that marker titles work with Gmap and Location when the Node Locations page is displayed at '/map/node'.

Not sure why it works when the locations module is enabled. Any ideas from anyone?

schmicky’s picture

bump