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. Tutorial Adding Image Overlay

    I would like to see a tutorial of how to add an imagery layer to a map.

    4 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      You have left! (?) (thinking…)
    • NOTHING! Keep it smple!!!

      The reason I used Leaflet was for it's simplicity and very small size. This must always be maintained. I want my websites to be as quick as possible which means keeping code to a minimum.

      If you really need to add features, add them as plugins but ALWAYS keep a very simple, basic, LIGHTWEIGHT version!

      4 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        Signed in as (Sign out)
        You have left! (?) (thinking…)
      • Image popup/modal

        Can I open a popup/modal with an image from a marker in Leaflet? What I mean is when you have an open marker in it you have some details ( some names or address ) and a link/button and when you click the link/button it will open a popup/modal with an image. Can you give me some examples from the net or directions for this? Thanks.

        4 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          1 comment  ·  Admin →
        • Back to Top table of contents item for documentation

          Often is the case that a user does not know exactly what part of the documentation they wish to view. Currently, this involves selecting from the list at the top of the page, navigating to the selection, determining if this is what is needed, if not returning to the top of the page (as this provides the view of all documentation entries) and then selecting again.

          This functionality isn't absolutely necessary however I think it would be a nicety that would be much appreciated. I know I have exhibited this behaviour while using the docs for my latest project.

          3 votes
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            Signed in as (Sign out)
            You have left! (?) (thinking…)
          • Broken URL in startup guide (404), needing API Key for first example

            On ... http://leafletjs.com/examples/quick-start.html
            Under "setting up map"
            You have a link on (get yours at CloudMade), the URL is to http://account.cloudmade.com/register which returns a 404 error, I can find no equivalent registration on their site. A link to other tile suppliers so I can switch it would have been useful

            3 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              Signed in as (Sign out)
              You have left! (?) (thinking…)
            • Flickr map problems.....

              Flickr said they can't do anything about this problem because they only use your maps and don't control them. They told me to get in touch with you if I was having a problem!
              "When I put a photo on the Flickr map and save it, the name of the place I put the photo in comes out listed with the wrong town on the photo's page."
              For example:
              If I put the photo in Litchfield,CT on the map it would show up as Northfield,CT on the photos page! I know this is wrong because there are signs in the…

              3 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                Signed in as (Sign out)
                You have left! (?) (thinking…)
              • 3 votes
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                • Individual Tiles for every record

                  I've Players, I want to display them as Individual world Map Tiles(with different colors as well) on 800 x 800 area,
                  is there any way I can achieve this

                  3 votes
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                  • Do Not Draw Stroke of Clipped Geometries

                    For performance reasons, geometries outside of the visible region are clipped, either immediately or after some margin controlled by the static `L.Path.CLIP_PADDING'. Even if you set this to be large (0.75 or 1.0), rapid panning will exceed the clip-padding region and the edges of clipped geometries will be brought into view. At the moment, their stroke is rendered on the clipped edge making it look like the geometry ends prematurely. Clipping is necessary for performance but it is vital that no stroke is drawn. See https://github.com/Leaflet/Leaflet/issues/3128

                    3 votes
                    Vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                    • 3 votes
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                        1 comment  ·  Admin →
                      • Convert a Collection of Polylines to Polygons

                        I would like a function that will take a collection of polylines and convert it to one or more polygons.

                        This would be fine a Leaflet plugin/extension.

                        3 votes
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          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
                            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
                              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
                                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
                                  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
                                    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
                                      Signed in as (Sign out)
                                      You have left! (?) (thinking…)
                                    • Can we add ArcGIS Maps

                                      Can we add other maps like ArcGIS,Google Maps to leaflet

                                      3 votes
                                      Vote
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        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
                                          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
                                            Signed in as (Sign out)
                                            You have left! (?) (thinking…)
                                          • Don't see your idea?

                                          Ideas and Suggestions for Leaflet

                                          Feedback and Knowledge Base