0nza1101 / leaflet-velocity-ts Goto Github PK
View Code? Open in Web Editor NEWVisualize velocity layers with leaflet
Visualize velocity layers with leaflet
Hello, the optimisation you did with particle is mind blowing. Leaflet-velocity is very slow without what you did. Is there any chance you update the projet to add the features they added over the time? (exemple : the option for opacity, the two public methods( setData and setOptions and lets you modify the layer's propreties on the fly).
I can't use your fork because of that. I am forced to use the standard library, but it is killing me inside because of the buggy particle.
Merci ! :)
Bruh you literally copied the JavaScript from the other github repo. Could you provide an example actually using the velocity layer in TypeScript??
您好,我想问一下您这个风场用到的关键性技术算法有哪些呢?感谢!
Hello, thank you for making this library!
How do I import it into a simple TS file? I've tried:
import * as L from 'leaflet-velocity-ts'
import 'leaflet-velocity-ts'
import 'leaflet-velocity-ts/dist/leaflet-velocity'
import { velocityLayer } from 'leaflet-velocity-ts'
but nothing seems to work.
Above are two screenshots, the former taken in Chrome (macOS client), the latter taken in safari (macOS & iPadOS have same result). Exact same code, exact same options.
The Chrome app for iPad also displays this abnormal behavior, likely because it is using WebKit to render the content as well.
I am not sure what the underlying cause is, or if this library is maintained anymore. But for anyone else trying to get this to work properly on mobile Apple devices, you need to have the opacity setting in the velocity layer options set to 0.98 or lower to make it normal again.
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.