juliageo / leaflet.jl Goto Github PK
View Code? Open in Web Editor NEWLeafletJS mapping library from Julia
License: MIT License
LeafletJS mapping library from Julia
License: MIT License
Accept arbitrary tables with as feature collections.
We should be able to use observables for drawing and zooming in leaflet, so they can be used to e.g. define bounding boxes, points and polygons.
The zoom level and pan would return an Extents.Extent
object, and points/lines/polygons would return GeometryBasics.jl objects compatible with GeoInterface.jl.
This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml
to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix
on this issue.
I'll open a PR within a few hours, please be patient!
In the README example, the eltype of layers
is a 1-element Vector{ArchGDAL.IGeometry{ArchGDAL.wkbMultiPolygon}}:
so that GeoInterface.trait
returns nothing. Maybe a change in ArchGDAL?
Lines 97 to 102 in 0b37561
Currently it needs a vector in lat, lon order, which is horrible as it has to be the reverse of other points.
So glad to see this library!!! Thanks for all of your efforts.
Is it possible to plot makers and circles [as shown for the JaveScript](library https://leafletjs.com/examples/quick-start/)?
My attempt was:
using Leaflet, Blink, GADM, GeoInterface
layers = Leaflet.Layer.([(X=73.5, Y = 70, geometry = "Point")]; color=:red);
provider = Leaflet.Esri(:imagery)
m = Leaflet.Map(; layers, provider, zoom=9, height=1000, center=[70, -73.5]);
w = Blink.Window()
body!(w, m)
but no marker is visible
As a picture is a thousand words ;)
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.