• Hello Eyal and everyone.

    I have a map utilizing the Post Locator and Leaflet map type.

    There are numerous markers located in Czech Republic (CZ) and Slovakia (SK), but there is one marker in Kosovo.

    I need the map to fit bounds and zoom specifically to cover only the regions of CZ and SK. Currently, the zoom level is too far out, displaying the entire map of Europe. I need to exclude the Kosovo marker from the fit bounds function to achieve a more focused map view on CZ and SK.

    Is it possible?

    • This topic was modified 1 year, 1 month ago by zdvorilyt.
Viewing 1 replies (of 1 total)
  • Plugin Author Eyal Fitoussi

    (@ninjew)

    Hello @zdvorilyt,

    There isn’t really to do that. As long as the marker of Kosovo is on the map the map will fit to display it. So you will need to completely exclude the marker in Kosovo from the results.

    Let me know if you have additional questions.

Viewing 1 replies (of 1 total)
  • The topic ‘Excluding a Marker from Fit Bounds to Zoom into Specific Regions on Map -leaflet’ is closed to new replies.