Code Monkey home page Code Monkey logo

Comments (4)

manubb avatar manubb commented on June 10, 2024

Hi. You can find what is bundled in example.min.js in package.json in the "scripts" section ("build:doc").

from leaflet.pixioverlay.

nigelPam avatar nigelPam commented on June 10, 2024

OK, I think I am following. So example.min.js includes minimised version of L.PixiOverlay.js, but also graph-draw, leaflet.photon, leaflet-hash etc.

So in the example french-cities.html, we have

<script src="js/example.min.js"></script>
<script src="js/tools.min.js"></script>

and L.PixiOverlay.js is not needed because it is already bundled in example.min.js

from leaflet.pixioverlay.

nigelPam avatar nigelPam commented on June 10, 2024

BTW, the problem I am having is that markers are not appearing until I do something like a mouseover or change window size. Probably because I am not using the loader, because it was not compatible with the version of leaflet I was using (1.7.1) .

Yes, I have confirmed this.

BTW I am using the latest pixi release which has pixi sprite events like mouseover, which means I don;t need some of the pixi overlay functionality to find pixi sprites?

from leaflet.pixioverlay.

nigelPam avatar nigelPam commented on June 10, 2024

Just to follow up. I checked and example.min.js does have the latest leaflet 1.7.1. So I just need to load example.min.js and everything will be there.

There is another comment I will make on a separate issue which may help somebody.

from leaflet.pixioverlay.

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.