OpenLayers has stabilized a lot over the last year. Would be great to have this module too.

Comments

nyleve101’s picture

Hi,

is this in the road map? What would be needed to get this on the road?

Jarode’s picture

Up !

mathieu’s picture

Title: Time for a Drupal 7 Verision of OpenLayers Geocoder » Time for a Drupal 7 Version of OpenLayers Geocoder
user654’s picture

.

tm541’s picture

Seems like it would make more sense to get version 6 working correctly with multiple locations before trying to move on to version 7.

steinmb’s picture

@tm541 that is a OL issue and is not really related to OLG.

tm541’s picture

@steinmb please see my last comment @ http://drupal.org/node/1945612
Thank You

asanchez75’s picture

Title: Time for a Drupal 7 Version of OpenLayers Geocoder » I have ported openlayers_geocoder to Drupal 7 and is available here
StatusFileSize
new599.29 KB

I have ported openlayers_geocoder to Drupal 7 and is available here
https://github.com/asanchez75/openlayers_geocoder
The module provides a extension to Openlayers Map Widget provided by Geofield module.
It works with geofield-7.x-1.1 and openlayers
See this video and attachment
http://www.youtube.com/watch?v=3VdP3iFX_3A

pol’s picture

Hello asanchez75,

Sounds great ! Why not using Geofield 2.x ? Geofield 1.x doesn't work with the latest version of OpenLayers.

Thanks.

mgifford’s picture

Any reason not to bring the code back to Drupal.org?

asanchez75’s picture

Hello @mgifford
Yes, if you grant access to me as maintainer I can push this version to Drupal git repository. I have permission to publish Drupal modules too.
I have only one question, my version works perfectly if you store data in format EPSG:3858 or EPSG:900913 (meters), but if you can store coordinates with EPSG:4326 format do not work. I am afraid is a glitch of openlayers. Can you check out js file? Any idea?

For @Pol, yes I am thinking to make it too.

Regards,

Adam

steinmb’s picture

@asanchez75 great work :) though I have not yet found time to look at the code. As mgifford wrote, could you move the code back to drupal.org? Create you own sandbox for it so people can, test it, provide feedback, patches etc. This you can do without being a maintainer.

asanchez75’s picture

@steinmb I just create a sandbox here

https://drupal.org/sandbox/asanchez75/2022347

Regards,

Adam

steinmb’s picture

YAY! :)

asanchez75’s picture

Priority: Normal » Major
Status: Active » Reviewed & tested by the community
StatusFileSize
new512.29 KB
new169.75 KB

I just solved problem I pointed out in #11
Please, before to use, do not forget to open and save again geofield_widget_map settings inside Openlayers settings. Follow steps described in attachments.
Now this D7 version works is RTBC :)

geigerg’s picture

Any news?