Thanks for the great module! Here's an issue, though:

When I enable the Structure -> OpenLayers -> Maps -> Behavior -> Geolocate feature, there's a little message printed in red right below the Geolocate form, that reads:

Dependency not found: OpenLayers.Control.Geolocate

I think I have everything installed that's needed: openlayers-7.x-2.x-dev.tar.gz from Aug. 6, and everything that's required to get geofields working. Now I'm not sure if I stumbled over a missing feature, or if I have an error in my configuration?

Thanks
-Karsten

Comments

Karsten.S’s picture

I'd like to add that my map is OSM based.
FireBug sais that the file ...modules/openlayers/includes/behaviors/js/openlayers_behavior_geolocate.js is not loaded.
I'd also like to add that I'm working from a regular home PC, not a mobile device. I ran into this issue due to a misunderstanding; pls. close the issue if I use the feature outside of it's specification.

Thanks
-Karsten

zzolo’s picture

These little red messages come from the dependency with the OL library itself. The geolocation functionality is in OpenLayers 2.11 which is not the current supported version of the library at the moment.

elijahmeeks’s picture

Any sense of when this will be supported?

zzolo’s picture

Status: Active » Closed (works as designed)

Well, openlayers 2.11 is on release candidate so I assume its pretty stable. You can easily include it in your site with the main OpenLayers module settings.

http://trac.osgeo.org/openlayers/wiki/Release/2.11/Notes

summit’s picture

Bookmarking, thanks for info. Greetings, Martijn