GithubHelp home page GithubHelp logo

Comments (3)

sfairgrieve avatar sfairgrieve commented on September 27, 2024

I'm not at my computer to test this at the moment, but I've seen that error
before. Based on a quick glance at the code, it looks like you're
importing both leaflet-dvf.min.js and leaflet-dvf.markers.min.js. When you
get a chance, try removing the leaflet-dvf.markers.min.js import.
Everything in the markers js file is included in the main leaflet-dvf
file, so you don't need that import anyway. Let me know if this fixes it,
and I'll try to do some testing a little later on.

Scott

On Saturday, January 4, 2014, sabas wrote:

I tried to mix the examples
http://humangeo.github.io/leaflet-dvf/examples/html/nlzip.html
and
http://humangeo.github.io/leaflet-dvf/examples/html/incomelevels.html

To generate a barchart on top of a geojson, but when I try to add the
borders as in the Netherlands example the javascript console alerts me that
"Maximum call stack size exceeded" at function call
TextFunctions._updatePath

My code is here

https://github.com/sabas/GenoaPortStats/blob/gh-pages/trafficoTerminal2012/index.html
and the error arises when includeBoundary:true

What could I have mistaken?


Reply to this email directly or view it on GitHubhttps://github.com//issues/13
.

from leaflet-dvf.

sabas avatar sabas commented on September 27, 2024

Yes, it works!
I included it because I saw it in the examples...
Sorry to ask, but how to style them? (make them bolder for instance) It's not like in the choropleth example correct?

from leaflet-dvf.

sfairgrieve avatar sfairgrieve commented on September 27, 2024

Great! I'll remove that from the examples. You can style the boundary
polygons by passing in a boundaryStyle property with the options you're
providing. It's just a standard set of leaflet style properties.

Scott

On Saturday, January 4, 2014, sabas wrote:

Yes, it works!
I included it because I saw it in the examples...
Sorry to ask, but how to style them? (make them bolder for instance) It's
not like in the choropleth example correct?


Reply to this email directly or view it on GitHubhttps://github.com//issues/13#issuecomment-31587056
.

from leaflet-dvf.

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.