• Resolved Hulivili

    (@hulivili)


    Can anyone help how I can use this JS script, so that I can set also zoom level?

    document.querySelector(‘.leaflet-control-locate a’).click();

    The script is working fine, but it zoom to too close/near.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author 100plugins

    (@100plugins)

    Hi @hulivili,

    I’m sorry, the zoom factor on the locate feature is not adjustable at the moment. But I will add this to the list of possible feature updates for the future.

    Best regards,
    Daniel

Viewing 1 replies (of 1 total)

The topic ‘Custom JS zoom level’ is closed to new replies.