umap-project / umap

uMap lets you create maps with OpenStreetMap layers in a minute and embed them in your site.
https://umap-project.org
Other
1.05k stars 213 forks source link

Layer cannot visible when I turn on the GPS location #1901

Open Light-wow opened 2 weeks ago

Light-wow commented 2 weeks ago

Describe the bug When I turn on my GPS location, the layer cannot be displayed properly.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'http://u.osmfr.org/m/1080215/' It should default to show the layer extent.

  2. Click on 'Center map on your location' GPS shows but the layer is not visible now.

  3. Click on 'See layer' The 'eye' which show/hide layer cannot function now.

  4. Click on 'Zoom to layer extent' The layer is visible again and the 'eye' can function now but the GPS location is hidden now.

Expected behavior The layer is visible when the GPS location is on. To ensure the users are walking on the layer's exact trails.

Desktop (please complete the following information):

Smartphone (please complete the following information):

yohanboniface commented 2 weeks ago

Seems the coordinates of the feature are greater than 180°, I guess it's related.

Are you able to try to fix them to see if it work as expected ?

Light-wow commented 2 weeks ago

Seems the coordinates of the feature are greater than 180°, I guess it's related.

Are you able to try to fix them to see if it work as expected ?

Thanks for your reply. But I am unsure what the 'coordinates of the feature' are. Is it a setting within the 'map advanced properties'? Or do you mean that the coordinates of point A to point B between the trails cannot be greater than 180°? I am so sorry if I misunderstood what you said. Just a newbie to the umap. Please let me know what I can do to fix it.

yohanboniface commented 2 weeks ago

How did you create the map, did you draw the lines by hand or did you import some data ?

Light-wow commented 1 week ago

How did you create the map, did you draw the lines by hand or did you import some data ?

I draw the lines just by hand.