3

This question is related to Adding geo location content to node.
I'm trying to get a location saved to a node. The Location module supports this, but I don't like the workflow of this module.

It does the look-up after the node is saved, but I would rather do the location look-up before the node is saved, e.g. by having a look-up button that, when pressed, queries Google, updates the gmap, and lets the user see the location before saving and not afterwards, which causes troubles, if the input address couldn't be found.

Do you have any idea on how to address this issue?

1
  • I switched away from the Location and Gmap module because they were a bit hard to work with. I went with OpenLayers module using the geocoder. The OpenLayers module is pretty impressive.
    – grm
    Commented Apr 22, 2011 at 21:35

2 Answers 2

2

I think that OpenLayers Geocoder can be the module you are looking for.

This module extends OpenLayers CCK input widget allowing to mark a location on the map by simply providing its address. A future version will also include support for reverse geocoding.

2
  • Yes, looks interesting. I looked on it yesterday. Best module I have found so far has been drupal.org/project/gmaps but sadly not any port going on for drupal7.
    – grm
    Commented Apr 20, 2011 at 17:58
  • 1
    Hello, and welcome on Drupal Answers. Answers that just contain a link are normally not considered an answer, on SE sites.
    – avpaderno
    Commented Apr 20, 2011 at 18:37
3

This doesn't help you with the Location module, but OpenLayers will map the location before the node is saved.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.