Leaflet - Client location marker and consideration for map fitting

Created on 20 June 2019, over 5 years ago
Updated 30 March 2023, over 1 year ago

There are several issues that dance around these two separate but interrelated features. But they either seem to be for google maps, or are closed for various reasons without (as far as I can tell) successful integration.

It would be extremely useful to have a:

  • Specific marker to continuously show the client marker on the map (instead of just the concentric circle that fades upon initial load).
  • Add the client marker for consideration with other markers for initial map fit and zoom.
    • In my case, I have several content maps that would be much more useful to show just the client and the target location markers so they now where they are in relation.

I've included the related issues for referencing.

✨ Feature request
Status

Closed: works as designed

Version

3.0

Component

Leaflet API

Created by

πŸ‡ΊπŸ‡ΈUnited States w01f

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¬πŸ‡§United Kingdom problue solutions Northern Ireland

    You can already use the user location as mapcenter, so that works as well. You can than just refresh that site every X seconds. If it is a view, you can even do it by ajax to save performance.

    I don't see any option to center the map on the user location in a Leaflet view. Where is that setting?

Production build 0.71.5 2024