Coder Social home page Coder Social logo

Comments (7)

sfairgrieve avatar sfairgrieve commented on May 27, 2024

@hairpin86 That's weird. Not sure what the problem could be offhand. Can you provide some more details like sample code? Or, is it just this example with no changes: http://humangeo.github.io/leaflet-dvf/examples/html/incomelevels.html

from leaflet-dvf.

hairpin86 avatar hairpin86 commented on May 27, 2024

i just plainly copied the example Javascript, included the data files and leaflet.js as well as the tile.stamen.js

Did I miss a library?

from leaflet-dvf.

hairpin86 avatar hairpin86 commented on May 27, 2024

Just realised, that all the interactive functionality (e.g. hover over states / country tooltips etc.) don't work either ...
I did not include the geohash.js, jsts.js, javascript.util.js in my page, could that be the problem?

from leaflet-dvf.

sfairgrieve avatar sfairgrieve commented on May 27, 2024

Those libraries shouldn't matter actually, and they can be moved out of this example. This is an old-ish example and hasn't been updated recently. What version of Leaflet are you using? 1.x? If so, you should be using leaflet-dvf 0.3.0. Are you sure that the correct Leaflet CSS file is being included as well? Still no errors in the console logs?

from leaflet-dvf.

hairpin86 avatar hairpin86 commented on May 27, 2024

Hi,
Your suggestion helped a little bit, tooltips do show now, but pie charts still don't show up as expected.
I tried using:
using leaflet-dvf 0.3.0 with Leaflet 1.3.1

No errors on the logs.

from leaflet-dvf.

sfairgrieve avatar sfairgrieve commented on May 27, 2024

Weird. Still the same example, or a different one?

from leaflet-dvf.

hairpin666 avatar hairpin666 commented on May 27, 2024

I tried all the examples, no charts :( , the other layers work as expected. No idea what I'm doing wrong....

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.