GithubHelp home page GithubHelp logo

anoram / leaflet-svelte Goto Github PK

View Code? Open in Web Editor NEW
52.0 52.0 1.0 580 KB

Svelte wrapper for Leaflet

Home Page: https://leaflet.anoram.com/

License: MIT License

JavaScript 0.63% Svelte 5.54% CSS 2.84% HTML 90.99%
leaflet leaflet-map maps sapper svelte

leaflet-svelte's People

Contributors

peopledrivemecrazy 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jacobmischka

leaflet-svelte's Issues

add plugins

i'm wondering how to add new leafle plugin in here. Somekind of sample tutorial. Thank you.

[Question] add custom elements to markers?

Thanks for sharing this project!

I'd like to add a "badge" with a number to each marker, always shown, I saw there is some example using the vanilla leaflet, some using plugins, some using L and divIcon, any suggestion how to do something similar with this component?

Support for multiple layers

Consider changing tileLayer to an array.
My requirement has a multiples layers from different sources, each with different opacities.
I'd also like to add & remove layers based on UI interaction... and the Map Component to react to those changes in the options.

panTo, flyTo, or setView

how to move the center of the map dynamically, in the leaflet they use panTo, flyTo, or setView to do this. But I can't do the old way. I tried to change the options, but it seems the map is static, so it won't update/refresh anything.

I see you export setZoom, but not setView. I wish you could add any of those functions. Thank you

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.