Closed CodeBrauer closed 6 years ago
enhancement idea:
navigator.geolocation.getCurrentPosition(onSuccess, onError); function onSuccess(position) { console.log(position.coords.latitude, position.coords.longitude); }
So you have an onLoad event for this and center the map to the current position. That would be awesome
related to #10
Sure. If you want, you can fork the project and create a PR! :muscle:
This seems to be already implemented.
enhancement idea:
So you have an onLoad event for this and center the map to the current position. That would be awesome