I can't figure this out nor can I find documentation explaining how to do this. Can someone please help or point me to help?
I just want to have a CCK field on a node-creation page that accepts an address through the Google Maps Tools interface. Then, when the node is viewed, I would like the map to appear with a marker for that address.
Right now, I have the field set up as a GMaps Address and the resulting node only shows a text address. I would like a map to show. Is there documentation available?
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | gmapsview.jpg | 81.45 KB | chrisla |
| #2 | gmaps map and address.png | 381.62 KB | mrgoltra |
Comments
Comment #1
m.sant commentedI posted a similar question:
http://drupal.org/node/766754.
I would like to display both the address and the map using an AnP field.
I don't know how this good module is supposed to achieve this.
As a workaround I'm attaching a view of type GMaps Map passing, the nid as an argument.
Regards,
Marco
Comment #2
mrgoltra commentedIs this what you are looking for?
Comment #3
m.sant commentedYes, sure.
Did you use a view?
If you made it with a AnP CCK field, without using a view, can you please explain how to make it happen?
Thanks,
Marco
Comment #4
mrgoltra commentedI used panel.
Comment #5
m.sant commentedThank you. I have a similar result using an attached view.
Good to know that the same can be achieved with panels.
My question is if it is possible to display for an AnP field both the address and the map as a CCK field.
Ciao,
Marco
Comment #6
chrisla commentedCan someone please point me to instructions on how to set up a view that will show a marker on the map such as #1 describes. I've created a view of the map that appears on the right node, but the marker does not appear. Attached is a screenshot of my settings:
Comment #7
mrgoltra commentedhave you created a map preset? and use that preset on the map node marker?
Comment #8
chrisla commented#7 -- I'm using the preset "View style Earth"
Comment #9
xmarket commentedFirst, If you need maps, then you should choose a field type which has point part.
Second, You can display the map with the address on the node page without views or panels as described here.
Third, If you choose the views based solution, then you should add the node ID argument handler to the view.
Comment #11
asb commentedWould anyone care to explain what Views has to do with geo point data? I simply don't get it.
Simple question: Enter an address in the node edit form, save the node. Now the address shows up, plus a map with a marker on it, located at the address entered in the node edit form. Can this module do this, and if yes, how?
Thanks!