Ideas and Suggestions for Leaflet

Leaflet UserVoice is a place for you to show support for your favorite feature and improvement suggestions for Leaflet.

  • Please don’t add duplicates of existing ideas.
  • Please don’t report issues with map data — they have nothing to do with Leaflet and will be declined. It uses OpenStreetMap on the website examples.
  • If you need to report a bug, please use GitHub issues instead.

Leaflet will become even better if you add …

You've used all your votes and won't be able to post a new idea, but you can still search and comment on existing ideas.

There are two ways to get more votes:

  • When an admin closes an idea you've voted on, you'll get your votes back from that idea.
  • You can remove your votes from an open idea you support.
  • To see ideas you have already voted on, select the "My feedback" filter and select "My open ideas".
(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  1. 3 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      1 comment  ·  Admin →
    • Server side clustering

      Would be nice to have a plugin which somehow helps with implementing server side clustering. The existing client side clustering solutions don't work if data set is very large, e.g. more than 100 000 K.
      Something like this: https://github.com/Leaflet/Leaflet.markercluster/issues/217, would be nice.

      3 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)
        You have left! (?) (thinking…)
      • Way to link overlays to baselayers

        Way to link overlays to baselayers so that when the linked baselayer is not selected the associated overlay checkbox will be greyed-out or removed

        3 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)
          You have left! (?) (thinking…)
        • 0558255735

          صبياء

          3 votes
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            1 comment  ·  Admin →
          • windows 10 touch usability

            Touch usability for windows 10 / edge

            3 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              1 comment  ·  Admin →
            • WIndows Phone 7.* Support

              Please provide support for Windows Phone 7. Your web site says you only support IE10/Windows 8 devices. I have tested on a Windows 7.8 device and maps are not draggable or pinchable. Can you add support so that Windows Phone 7 users can interact with maps.

              3 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                1 comment  ·  Admin →
              • Allow customizing the zoom animation of overlays to scale or not

                During a zoom animation, an L.Icon changes only its location, while an L.Path changes both its location and size. While this is a sensible default, it would be nice if this could be customized. In particular, L.CircleMarker currently has the L.Path behavior but should really have the L.Icon behavior. Perhaps two overlay options like "zoomAnimatesPosition: true" and "zoomAnimatesSize: false" could be added?

                3 votes
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                • Co-operation between maxBounds and the plugin ControlledBounds

                  When a great part of the map is occluded by Leaflet Controls (both native and custom) the ControlledBounds plugin is vital in keeping the map useable. However, when the function setMaxBounds is used for restricting the user from harmful map panning, the map bounce ignores the effect of the ControlledBounds plugin. This renders the panning restriction almost useless especially on mobile devices.

                  Also, a couple of other things would make maxBounds functionality better:

                  It would be beneficial if the LatLngBounds padding could also be set added as a geographical distance.

                  The map could prevent the map view center (not the…

                  3 votes
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                  • Method to return the shortest path between A and B given an array of coords.

                    Given an array of coords and two Points, return the shortest path from point A to point B using a minimal spanning tree created from the array parameter.

                    The return value would be an array of coords, in order, that represent the vectors that must be taken to achieve the shortest path.

                    This method would be useful for graphing, routing on maps that do not use real world geography, or maps have no real road data.

                    3 votes
                    Vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                    • It would be nice having an integration with jqmobile panel

                      I'd like leaflet to create a map where clicking/tapping each marker it opens a panel in jqmobile which in turn will have different pictures, notes, etc.
                      Maybe it is already possible but I've not seen in the features, in this case please let me know where do I have to look at. Thank you. Angelo

                      3 votes
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                      • Have links or guides to "Map 101" information

                        The Leaflet tutorials are great, but predicated on somebody already knowing an immense amount of information about maps and how they work. Somebody recommended Leaflet for a project I'm working on, but I'm totally lost -- newbies could really use some info on how they get the background they need BEFORE they get into Leaflet.

                        2 votes
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                        • Ability to get popup from marker without using _popup, e.g. getPopup()

                          _popup is an internal method and is inherently unsafe. There should be a getter called "getPopup".

                          2 votes
                          Vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            I agree to the terms of service
                            Signed in as (Sign out)
                            You have left! (?) (thinking…)
                          • A position/display snapshot

                            Ability to leave the map page for another page within the same website, and reload ("back" button) restoring previous map position, zoom level and visibility of layers.

                            2 votes
                            Vote
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              I agree to the terms of service
                              Signed in as (Sign out)
                              You have left! (?) (thinking…)
                            • 2 votes
                              Vote
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                I agree to the terms of service
                                Signed in as (Sign out)
                                You have left! (?) (thinking…)
                              • bindPopup offset requires a Point, and doesn't work with an array

                                i.e. marker.bindPopup(popupText, { offset: new L.Point(0, -27) }) works, but marker.bindPopup(popupText, { offset: [0, -27] }) does not. At least make it clear that this method _requires_ a point and you can't use an array here.

                                2 votes
                                Vote
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  I agree to the terms of service
                                  Signed in as (Sign out)
                                  You have left! (?) (thinking…)
                                • tutorial regarding overlayadd

                                  @LeafletJS I have problem to get the event overlayadd to trigger. nice if you can show a simple example on overlayadd. Baselayerchange works fine.
                                  lukas.hansson@aftonbladet.se

                                  2 votes
                                  Vote
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    I agree to the terms of service
                                    Signed in as (Sign out)
                                    You have left! (?) (thinking…)
                                    1 comment  ·  Admin →
                                  • Extend ImageLayer class to support polygon bounds.

                                    The ImageLayer class currently supports Rectilinear bounds which does allow a 3 or more edged image to be placed appropriately on the map.

                                    2 votes
                                    Vote
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      I agree to the terms of service
                                      Signed in as (Sign out)
                                      You have left! (?) (thinking…)
                                      1 comment  ·  Admin →
                                    • Adding different components to Maps e.g drag and drop marker onto map

                                      There is a layer component that shows different views, Should have one for other features or components like dragging a marker to map

                                      2 votes
                                      Vote
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        I agree to the terms of service
                                        Signed in as (Sign out)
                                        You have left! (?) (thinking…)
                                      • Mobile friendly website

                                        The maps are great guys but your own website sucks on a mobile phone what's that about?

                                        2 votes
                                        Vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          I agree to the terms of service
                                          Signed in as (Sign out)
                                          You have left! (?) (thinking…)
                                        • Zoom destination for the zoomstart event

                                          I'm capturing a zoomstart event and want to kick off my own animation for a custom marker while the map's zooming in or out. But as far as I can tell, there's nothing in the zoomstart event that would tell me what the destination zoom level is going to be.

                                          2 votes
                                          Vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            I agree to the terms of service
                                            Signed in as (Sign out)
                                            You have left! (?) (thinking…)
                                          • Don't see your idea?

                                          Ideas and Suggestions for Leaflet

                                          Feedback and Knowledge Base