You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I upgraded to Leaflet 0.6 and the latest Locate control. I am getting a new type of error. On FireFox V20, I am finding that the error radius is NaN. So I am getting errors on creating the circle:
var locateControl = new L.control.locate({
position: "topleft",
drawCircle: true
});
If I turn off the drawCircle: false, I do get the correct location (with the marker, and with the tooltip saying that you are within NaN of this location).
I tried this again with Chrome v26, and I am getting that I am within 1200 meters.
Thanks for reporting this. Since Leaflet 0.6 is not out yet, this might change. I'll wait for the final release and look into this issue then, If you have a fix for this problem, I'd be happy to merge it ;-)
The demo probably works because it is Leaflet 0.5.
I upgraded to Leaflet 0.6 and the latest Locate control. I am getting a new type of error. On FireFox V20, I am finding that the error radius is NaN. So I am getting errors on creating the circle:
If I turn off the drawCircle: false, I do get the correct location (with the marker, and with the tooltip saying that you are within NaN of this location).
I tried this again with Chrome v26, and I am getting that I am within 1200 meters.
The really odd thing is that your demo at http://domoritz.de/leaflet-locatecontrol/demo/ does work for me in FireFox, and it also says that I am withing 1200 meters.
I am testing on a desktop machine (win7).
The text was updated successfully, but these errors were encountered: