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. Leaflet Swag

    Can I get Leaflet swag (shirts, stickers, etc) somewhere?
    I would love to buy a shirt (maybe from Teezily) and stickers (Unixstickers or Stickermule marketplace).

    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…)
    • 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
        I agree to the terms of service
        Signed in as (Sign out)
        You have left! (?) (thinking…)
      • Show plug-in date posted

        Some of us check regularly to see if any new plugins are available.

        1 vote
        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…)
        • Daudkandi Sarker Group

          A H Halim Sarker Dccb Daudkandi Bazar Road Daudkandi Comilla District Chittagong Division Bhangladesh

          1 vote
          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 gestureHandling option to L.Map

            Google Maps JS has a gestureHandling option which can be set to 'none', 'greedy', 'cooperative' or 'auto'.

            Currently, Leaflet only has a 'greedy' mode where moving with one finger pans the map.
            But when Leaflet is used as part of a scrolling page, this one finger panning interferes with page scrolling.

            Google Maps' solution is to require two fingers to move the map when gestureHandling is 'cooperative'.

            This would make Leaflet a no-brainer to embed in scrolling pages. I couldnt find plugins that enable this behaviour.

            More: https://developers.google.com/maps/documentation/javascript/interaction

            57 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…)
            • Basemap providers for 3D Maps

              If built using Leaflet can there be basemap providers that are ready built 3D environments?

              1 vote
              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…)
              • Street names

                There are a few streets in Hawaii on the island of Kauai that need to be added to your map. Because same street changes name in some areas. Very important streets. Pee Road in Poipu and Nawiliwili Road in Lihue. My programmer, Iverve is creating Tracy's Map App for me with your Leaflet program. It looks great, however for tourists and users of the app these two streets need to be added. Can you please help with this? I can be reached at 808-652-6141. Mahalo Tracy Davidson.

                1 vote
                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…)
                • Adding origin to events

                  I need to refresh some markers when the map has moved or zoomed but only if it’s coming from user interaction, not if I did it programmatically (calling map.setView, map.setZoom and so on).

                  What do you think about adding an attribute in triggered event to tell if it’s coming from user interaction or by an API call (like origin: user|api) ?

                  It doesn’t seems feasible in a plugin and would need changes in leaflet core. Would a pull request adding that event origin be integrated ?

                  34 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…)
                  • Resolution and scale predefined for zoom level

                    OpenLayers has functionality that allows configure zoom levels by resolution or predefined scales. It is planned similar functionality in Leaflet?

                    110 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…)
                    • 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.

                      6 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…)
                      • 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
                          I agree to the terms of service
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                        • virtual polyline thickness for mouseover

                          If the polyline is very thin (1-3px), heavy to focus with the mouse over polylines. Also heavy to the touch. Comfortable thickness for projects is 6px and more, but not aesthetic appearance if very many lines .
                          Is it possible to add a property for polylines (eg weight_mouseover, where weight_mouseover > = weight) virtual polyline thickness for mouseover?

                          P.S. With the polygon and marker problems do not arise. Thank you.

                          1 vote
                          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.

                            6 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…)
                            • PT.ADYAWINSA

                              192.168.015/devosa/

                              1 vote
                              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…)
                              • advance editing

                                In farming case, we need to make some complex operation on polygon like editing, spliting or snaping with guide.

                                1 vote
                                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…)
                                • Drawing Doughnut shaped objects

                                  A plugin which makes it possible to draw doughnut shapes. Currently its possible to draw a polygon inside another polygon but those polygons can only be of finite number of sides as one has to specify all the points those polygons can pass through. One could overlap a bigger circle with white polygon, but that would hide the background in case the polygon is slightly transparent.

                                  1 vote
                                  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…)
                                    • Polyline needs removeLatLng( <LatLng> latlng ) method

                                      Polyline needs removeLatLng( <LatLng> latlng ) method; should return this; Removes a given point from the polyline.

                                      I realize this could be accomplished by getting the array of LatLngs and then removing the LatLng you want to remove and then setting the LatLngs array for the Polyline, but the same could be said of the addLatLng method as well. I think this is useful and important for usability--in case users click where they don't mean to. It makes it easy for me to implement undo/remove for them.

                                      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…)
                                        • Improve docs: explain mapbox relationship

                                          I'm new to leaflet and looking at the lay controls example (http://leafletjs.com/examples/layers-control.html). It remains entirely unclear what/how the grayscale layer effect if produced. is this a mapbox feature? A leaflet feature? Does it need a plugin? Looking at the example source doesn't help either.

                                          It would be great if there was better introduction to the leaflet architecture to clarify these questions.

                                          1 vote
                                          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…)
                                          ← Previous 1 3 4 5 8 9
                                          • Don't see your idea?

                                          Ideas and Suggestions for Leaflet

                                          Feedback and Knowledge Base