Git Product home page Git Product logo

Comments (8)

ismail44 avatar ismail44 commented on May 29, 2024

Ok, so looking at AbstractMultiPolyline.js, how come, inside of the parse function, layer is set to new L.Polyline([]) and not new L.MultiPolyline([])?

from leaflet-wfst.

kuzkok avatar kuzkok commented on May 29, 2024

Hi, are you use right branch? Master branch is for leaflet 1.x. For leaflet 0.7.x you should use code from leaflet-0.7.3 branch

from leaflet-wfst.

ismail44 avatar ismail44 commented on May 29, 2024

It looks like 1.x is still beta and their website says 0.7.7 is the "good version"

On Mar 2, 2016, at 1:24 AM, kuzkok [email protected] wrote:

Hi, are you use right branch? Master branch is for leaflet 1.x. For leaflet 0.7.x you should use code from leaflet-0.7.3 branch


Reply to this email directly or view it on GitHub.

from leaflet-wfst.

kuzkok avatar kuzkok commented on May 29, 2024

Ok, so looking at AbstractMultiPolyline.js, how come, inside of the parse function, layer is set to new L.Polyline([]) and not new L.MultiPolyline([])

this changes were made for leaflet beta1 compatibility, if you see to leaflet-0.7.3 branch there will be L.MultiPolyline([])

from leaflet-wfst.

ismail44 avatar ismail44 commented on May 29, 2024

Ok... so, I guess the answer is to swtich to 1.0. I'm a bit uncomfortable
switching to "beta", but it seems to be the only way.

Thanks.

On Wed, Mar 2, 2016 at 8:31 AM, kuzkok [email protected] wrote:

Ok, so looking at AbstractMultiPolyline.js, how come, inside of the parse
function, layer is set to new L.Polyline([]) and not new L.MultiPolyline([])

this changes were made for leaflet beta1 compatibility, if you see to leaflet-0.7.3
branch
https://github.com/Flexberry/Leaflet-WFST/blob/leaflet-0.7.3/src/Format/Parsers/Layers/AbstractMultiPolyline.js
there will be L.MultiPolyline([])


Reply to this email directly or view it on GitHub
#29 (comment)
.

from leaflet-wfst.

kuzkok avatar kuzkok commented on May 29, 2024

You can use leaflet 0.7.7 and this plugin code from leaflet-0.7.3 branch, it support all leaflet 0.7.x versions. Its just a branch name, not fixed leaflet version.

from leaflet-wfst.

ismail44 avatar ismail44 commented on May 29, 2024

Ahhh... I see. Thanks so much!

On Wed, Mar 2, 2016 at 9:03 AM, kuzkok [email protected] wrote:

You can use leaflet 0.7.7 and this plugin code from leaflet-0.7.3 branch,
it support all leaflet 0.7.x versions. Its just a branch name not fixed
leaflet version.


Reply to this email directly or view it on GitHub
#29 (comment)
.

from leaflet-wfst.

ismail44 avatar ismail44 commented on May 29, 2024

I thought you were talking about the Leaflet project's version... no this project's version.

Thanks again for all your help. Selecting the correct version of WFST works just as expected.

from leaflet-wfst.

Related Issues (20)

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.