Giter Club home page Giter Club logo

leaflet-paintpolygon's People

Contributors

kamildwo avatar tcoupin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

leaflet-paintpolygon's Issues

Dump coordinates of this polygon

Hello,

Great work.

I start and ,how can we retrieve the coordinates of the polygon in a "textarea" or, at least, display them all in an "alert"

Thanks

(je débute et ,comment peut on récupérer les coordonnées du polygone dans un "textarea" ou , au moins, toutes les afficher dans une "alert")

Drawing doesn't work on mobile chrome.

The plugin works well on desktop browsers such as chrome, firefox, safari etc.
But when I test the plugin on the mobile, I found out it stopped to work on mobile chrome. I could confirm it was working well on mobile firefox.
While debugging the plugin, I knew mobile chrome doesn't support the mouse events for leafletJS.
So for mobile chrome, need to use touch events instead of mouse events.

Drawing over start of line deletes part of the line

This is an awesome plugin but there is one issue thats preventing me from using it.

When drawing it seems if you draw over that start of the line it deletes part of the line, I have linked a screen recording to help explain.

Video: https://youtu.be/AiDOzJPEdRs

Unrelated but after drawing for about 20 seconds chrome bug out and the page has to be reloaded.

Regards
Jack

Drawing error

Hello, this is a great plugin but i have a problem,

When i drawing sometimes i get

"Unable to complete output ring starting at [... , ...]. Last matching segment found ends at [... , ...]." (dots are stands for lat lng)

I would appreciate your help

Using PaintPolygon with CRS

Did pretty extensive development on a project with available open source maps, then once I received my "flat" raster map, popped it in, switched the map to CRS.Simple and everything went haywire. When drawing on a CRS.Simple map, the area is drawn in weird shapes in the upper left far from the cursor. I suspect this has something to do with "projection." How can I get PaintPolygon to work with CRS.Simple?

Styling GeoJSON

How to change style of GeoJSON element using Leaflet.

for example set this style:
let style = { radius: 8, fillColor: "#ff7800", color: "#000", weight: 1, opacity: 1, fillOpacity: 0.8 };

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.