GIScience / ors-map-client

Openrouteservice API web SPA client using VueJS, Vuetify and Vue2Leaflet
http://maps.openrouteservice.org
Apache License 2.0
104 stars 32 forks source link

Show current GPS position of user on the map #346

Closed redfrexx closed 1 year ago

redfrexx commented 1 year ago

Show the current GPS position of the user on the map (if gps is enabled), so it is easier for users to navigate along the route. Clicking the GPS Position button in the bottom right of the app, does not seem to do anything except showing the pop up window explaining what the button is for. Tested it with Android and Firefox.

amoncaldas commented 1 year ago

This feature was working before. Some recent change might have disabled/interfered on it. The component MuLocation.vue is reponsible for that https://github.com/GIScience/ors-map-client/blob/main/src/fragments/map-view/components/my-location/my-location.js#L49