Sylvain Marcadal (Ram)
Sylvain Marcadal (Ram)
As a workaround, you can explicitly set scrollMonitor as dependency of your own project. ```json "dependencies":{ ... "scrollMonitor": "stutrek/scrollMonitor#~1.0.12", "angular-viewport-watch": "^0.1.29" } ```
You can extend the use any layer implementation that can produce a timed layer. ```js var layer= MyLayer(...); var timedLayer = new L.TimeDimesion.WMS(layer); ``` Your layer will be [recreated ](https://github.com/socib/Leaflet.TimeDimension/blob/master/src/leaflet.timedimension.layer.wms.js#L219)...
Or remove the font-face completely and document that you need to include it or provide a small css file that does. This way if someone want to use another font-icon...
Without the font it will render a missing glyph rectangular. This is why I proposed to split the icon font declaration and the control layout in two files. Include both...
There is an event fires on timedimension when range limit changes : `limitschanged`. You can try to listen to this and filter your data
https://weacast.gitbooks.io/weacast-docs/content/api/LAYERS.html#flowlayer-source
`_requestTimeDimensionFromCapabilities` is asynchronous. You cannot get the times just after. If you want, you can register for time changes events : ```js dLayer._requestTimeDimensionFromCapabilities(); timedimension.on('availabletimeschanged', (e)->{console.log(e)}) ``` This only works if...
If you want to build your own player component, I suggest you to check [Player Control code](https://github.com/socib/Leaflet.TimeDimension/blob/master/src/leaflet.timedimension.control.js#L145) And demo [3](http://apps.socib.es/Leaflet.TimeDimension/examples/example3.html), [10](http://apps.socib.es/Leaflet.TimeDimension/examples/example10.html) & [13](http://apps.socib.es/Leaflet.TimeDimension/examples/example13.html)
you need to get a reference to your timedimension instance. Either you create it yourself : ```js var timedimension = L.timeDimension({/*options*/}); timedimension.addTo(map); // works with `timeDimension:false` in your map options...
For each time, it will recreate a new layer that contains only the features that are returned by `_getFeatureBetweenDates` [see L.TimeDimension.Layer.GeoJson](https://github.com/socib/Leaflet.TimeDimension/blob/master/src/leaflet.timedimension.layer.geojson.js#L142) Returning null in that function will remove the feature....