Hi,

This is a really cool module and it works fine for us in most situations. We're using the Leaflet API via IPGV&M, along with an exposed proximity filter.

We're getting the following error in Safari 5.1.10 (on iMac) as soon as we tick 'Allow session storage' in admin/config/system/ip_geoloc :

Error: Invalid LatLng object: (52.3702157, NaN)
(in the Leaflet library JS)

No marker for the current user is shown on the map, even though the proximity filter appears to be working. It's also breaking a load of other JS functions, such as language and currency selectors.

This problem doesn't occur in Firefox, nor in Safari for iOS.

(The error goes away when unticking 'Allow session storage', but of course that's precisely what we're trying to do here.)

Has anyone else come across this problem? Any suggestions much appreciated.

Thanks

Comments

bluesman2014 created an issue.

RdeBoer’s picture

Thanks for reporting.

I tried reproducing it on my Mac laptop (with Safari 9.0.2), but can't.

A full call stack from the Developer window in your browser, rather than just the final error, would be a great help.

If the error actually originates in the Leaflet JS, then you could try upgrading to 0.7.7 or even 1.0.0-beta, both downloadable from http://leafletjs.com/download.html

Rik