kennib / elm-maps Goto Github PK
View Code? Open in Web Editor NEWAn elm library for interactive maps.
An elm library for interactive maps.
SSCCE : https://ellie-app.com/3wZ5VGhhZa1/0
When zooming a map thats not positioned at the top left of a document the zoom doesn't follow the cursor position.
Possible cause is the use of clientX
and clientY
instead of offsetX
and offsetY
in this module : https://github.com/kennib/elm-maps/blob/master/src/Maps/Internal/Screen.elm#L117
MouseEvent offset info
https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/offsetX
Are there any plans to migrate to Elm 0.19?
Can I use OSM instead of the mapbox provider?
Thank you
Sometimes I have geographic data that I'd like to show on a map that isn't from a tile service. In those cases, I'd like just to throw a png onto the map in the right place.
The analogous feature in leaflet is ImageOverlay
The map server I use seem to have a bug and returns sometimes a 500 - if I saw correctly, for tiles that don't have relevant information in the first place. Would it be possible to not show those tiles at all? I get the broken image marker currently, which looks ugly.
I assume, Elm doesn't have access to the load events, does it?
First, thank you for releasing this library, it's very useful to me. I was wondering, whether it's possible to have multiple map layers. I want pretty much the same result as this page, and while I'm just an OSM beginner, I understood that they load another layer behind their own layer.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.