onury / geolocator

A utility for getting geo-location information via HTML5 and IP look-ups, geocoding, address look-ups, distance and durations, timezone information and more...

Home Page:https://onury.io/geolocator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

errorCallback is not invoked when locateByIP fails

kallelat opened this issue · comments

I have been testing with freegeoip; as it has been down quite a lot lately, I tried to add errorCallback to catch those situations but didn't help.

Hi, thanks for the report. FreeGeoIP service seems to be unstable but this is still a bug. Geolocator should correctly handle load errors and invoke the errorCallback.

This is fixed in version 1.2.4.
Please check it out and let me know if it works for you, too.

Perfect, thank you, I will check it out soon!