Placing a marker
jomyoot - July 1, 2007 - 10:54
| Project: | GMap Addons |
| Version: | 5.x-1.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
How difficult would it be to extend this module to show a marker? Currently it allows me to center a map, but being able to place a marker would make it much more complete.
How likely is this feature to be implemented? Otherwise, how would I hack this myself?

#1
Showing a marker in the center is a good idea. I've been thinking about integrating this with location, and also optionally sync the location coordinates of the node with the gmap field.
Not sure when I get around to do that, what needs to be done is adding a field-option (gmap_cck_field_settings) and extending the widget hook to display the marker (gmap_cck_field_formatter).
Just give it a try when you got time ;-)
#2
I am too new to Drupal, coming from Ruby on Rails actually. It will be months before I have the skills to do something like this.
#3
interesting post on macros as it might be interest to you
Proposal: End of Life the Gmap Macro
http://groups.drupal.org/node/4323
#4
So I guess, until we still can't put a marker on a gmap cck?
Would be great if possible!
#5
I'd love that marker on my content type too. I'm developing an real estate web site. And I need to pinpoint the estates accurately.
It doesn't look good if we say "It's in the middle of the map! Can't you see?" to visitors.