Getlocations-like module for input addresses

Events happening in the community are now at Drupal community events on www.drupal.org.
c-c-m's picture

Hello,

It's been a while since I created my last map in drupal and I would like to know if there's a better solution for storing information that the formula I've been using: a geofield geocoding from another address field.

Whereas this is a really useful solution there are some times when a user does not know the address (or just there's no address) and prefers to point the exact position over a map.

After further investigating a bit I discovered getlocations module, which offers this functionallity + some interesting others (I like its customization options per field basis, which makes it really easy to configure), but I don't like the fact that it relies on Google Maps (I know OpenStreetMap can be used as well as base layer) and I'd like to use either leaflet + OpenLayers.

So, summing up, my question is: is there a module that can work fine with Leaflet (preferred) or OpenLayers and allows input data using both address or map positioning?

Thank you

Comments

IP Geolocation Views and Maps

rdeboer's picture

Plug for my own module, but still... it is pretty good ;-)
"IP Geolocation Views and Maps" connects any of 4 modules to input lat/lon with any of the 3 big mapping APIs: Google, Leaflet or OpenLayers.
The IPGV&M project page has references to articles and videos as well as FAQs.

Thank you for your reply and

c-c-m's picture

Thank you for your reply and for introducing me to your module, which I didn't know.
I've been reading its documentation but if I am not wrong this module is about displaying information, and what I am looking for is a user-friendly way for data input (either provide an address or point over a map - I am guessing now that I could use a conditional field maybe?).

Leaflet Widget

rdeboer's picture

I'm not sure if this module has the dual input feature you're after...
https://drupal.org/project/leaflet_widget

https://drupal.org/project/ge

Sinan Erdem's picture

https://drupal.org/project/geolocation can be the module you are looking for. It has a widget to enter an address or click on a map.

Geolocation + IPGV&M + (Leaflet or OpenLayers or Google)

rdeboer's picture

Thanks Sinan for chipping in.

So c-c, looks like this could be your setup:
o Geolocation for the coordinate entry (widget) and lat/lon storage
o "IP Geolocation Views & Maps" for centering, marker-differentation, superimposing visitor marker etc...
o Leaflet (or Google or OpenLayers) for rendering of the maps (IPGV&M supports all three).

Rik

Location and Mapping

Group organizers

Group categories

Wiki type

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: