hotosm / fmtm

Field Mapping Tasking Manager - coordinated field mapping.
https://fmtm.hotosm.org/
GNU Affero General Public License v3.0
49 stars 46 forks source link

Geolocation layer issue on base layer switch #1907

Open NSUWAL123 opened 4 days ago

NSUWAL123 commented 4 days ago

Describe the bug On switching the base layer back to open layers, the geolocation point vanishes

To Reproduce Steps to reproduce the behavior:

  1. Go to 'mapper frontend'
  2. Click on 'toggle geolocation icon'
  3. The default layer is OSM, so switch to other layers, the geolocation layer is visible
  4. But switching the layer back to OSM makes the geolocation point vanish

Expected behavior The geolocation point should persist although base layers are switched

Screenshots https://github.com/user-attachments/assets/f0aab4f0-12f9-439a-b4c3-393ca2dbc54e

Smartphone (please complete the following information):

Additional context The geolocation point is not visible on the firefox browser.