How to link a node on a map? Or an image for that matter?

Comments

gatonero’s picture

Version: 6.x-1.x-dev » 6.x-1.0-rc2
Component: Documentation » Code

How I understood it should work with GMap marker -> edit info. But this doesn't work have a look at http://drupal.org/node/313684

Zarevac’s picture

Yes but what I am missing is when I create a story or something to add markers/coordinates.

zilla’s picture

you have to "location enable" the node itself (assuming you've enabled both gmap and location modules and gmap location etc)

now go to content types (admin/contenttype/yourcontenttype (e.g. story) and in the main edit field, where you set things like coment settings, etc, you'll see an option to accept locations

under locative information be sure to pick at least '1' for allowed locations (as opposed to required)

under 'collect' set street, city, zip (and others desired) to 'allow' (not required)

perhaps force default for country to USA or whatever...

now go and create a story and you should see a section to add a location

Zarevac’s picture

Thnx mate ;-)

rooby’s picture

Status: Active » Fixed

This has been resolved

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.