GIScience / ors-map-client

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

map does not render or renders only once, then snap back to Lampenhain #392

Open dvodvo opened 1 year ago

dvodvo commented 1 year ago

Is there an existing issue for this?

Problem description

Issue with web application https://maps.openrouteservice.org/
both on Mac OS X 12.3 running Firefox 116.0 and firefox Focus 109.1.1 running on Android 9

I load a GPX file.
It renders in the browser window. But then I click anything (here, for example, I changed to view to a topographical one) and the map returns to Lampenhain, which sort of defeats the purpose... Certainly zooming (also tested and returning the same behaviour) is 99% required.

Screen Shot 2023-08-09 at 13 44 45

On can note that some of the data from the file import remains in the side pane.
• on OSX only a single point remains (as above) • on android all points of GPX data are in the side bar, but the map reverted to Hilsenhain / Lampenhain. Screenshot_20230809-135347_Firefox Focus

Subsequently, I can attempt to reload a file, but the map stays at Hilsenhain / Lampenhain.

Screen Shot 2023-08-09 at 13 45 11

Even though the data is apparently loaded

Proposed solution

The map should be maintained and cleared only once the button to clear has been activeated or a new file loaded.

Additional context

No response

Forum Topic Link

No response

MichaelsJP commented 1 year ago

@dvodvo Thanks for reporting. I transferred this issue to our maps client repository.

dvodvo commented 1 year ago

I have tried to reproduce the problem after a system re-start. The above issue are not reproducible.

Therefore - as Firefox was involved in both cases - I have to assume it is a memory management problem of Firefox and not the maps client per se. I leave the final judgement as to closing this issue to you.