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
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

ray007 - July 7, 2007 - 19:37

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

jomyoot - July 8, 2007 - 14:02

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

ica - October 2, 2007 - 11:14

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

najibx - September 6, 2008 - 16:57

So I guess, until we still can't put a marker on a gmap cck?
Would be great if possible!

#5

hecatomber - October 31, 2008 - 08:53

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.

 
 

Drupal is a registered trademark of Dries Buytaert.