After some research and testing, it seems like the best option for me is to use geofield with geolocation module for input, so I can then later integrate with various mapping solution like openlayers. The geolocation module/field works fine but when I use Geofield with Geolocation Input and I try to save with geofield with geolocation input, it doesn't seem to save the data correctly. In fact, it doesn't save at all. When I change to text input via lat/long, it is fine. But as geolocation input (widget = Google Map), it's not working.

I'm not sure if this issue should be posted into geofield but I thought I'd start the dialogue here.

Comments

markwk’s picture

Status: Active » Closed (works as designed)

Ok. I needed to upgrade all of the geofield dependencies and libraries it worked fine again. Sorry about that.

Sinan Erdem’s picture

Status: Closed (works as designed) » Active

Sorry to reopen but I experience the same issue.

Using Geophp 7.x-1.7, Geolocation 7.x-1.x-dev and Geofield 7.x-1.2

What versions do you use?

Sinan Erdem’s picture

Status: Active » Closed (fixed)

Using Geofield v2.0-beta fixed the issue.