Esri / wind-js

An demo animation of wind on a Canvas layer in the JSAPI
MIT License
735 stars 214 forks source link

use on an existing leaflet map #36

Closed sidharthskumar closed 5 years ago

sidharthskumar commented 5 years ago

how can i add this to my existing leaflet map

jgravois commented 5 years ago

how can i add this to my existing leaflet map

what have you tried?

this code sample directly manipulates an HTML canvas so theoretically it could be ported.

https://github.com/Esri/wind-js/blob/5fee5c73a26c21f801dcd414c64e31fb7cc1a1f0/index.html#L88-L99

jgravois commented 5 years ago

an abstract question like, 'tell me everything that would have to be different to use this code with an entirely different mapping API' is a little too ambitious for a GitHub issue.

in order to increase the chances of anyone else online being able to help you you'll need to try and frame a more specific question, test a hypothesis on your own and articulate what you learned.