Code Monkey home page Code Monkey logo

leaflet.arc's People

Contributors

mad-gooze 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

Watchers

 avatar  avatar  avatar  avatar  avatar

leaflet.arc's Issues

straight line in short distance

Hello,

i'm trying to use the plugin to draw arcs on a map.

 var path = L.Polyline.Arc( 
[ 48.8611473, 2.33802768704666 ] , [ 41.3751984992, 2.12036451854 ], {
            vertices: 100,
        }).addTo(myMap)

With these coordinates it shows a line instead of an arc,

may be due to a problem with short distances?

I tried also the following demo example and it works well :

    L.Polyline.Arc([59.56667, 150.8], [67.5, 64.03333], {
      color: "red",
      vertices: 200
    }).addTo(map);

meridian issue

Hi, Can you help me?
Draw polyline arc through meridian.

longitude < 0 already add 360

Screen Shot 2019-07-11 at 5 30 14 PM

180 deg longitude crossing

arcs that cross 180 degrees longitude stop drawing at 180 degrees. leaflet defaults to a "wrapped" longitude model, where longitude>180 and longitude<-180 are permitted. when an arc is drawn between say [0,170] and [0,190], the arc will stop drawing half way through.

screenshot - 2016-02-28 00 08 51

Please add a license (MIT or BSD, if possible)

Hi, nice work! We'd like to use this in an app for academic medical centers but noticed there appears to be no license for the repo. Could you please add a license, preferably MIT or BSD?

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.