-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unknown interpolation type zoom #33
Comments
Did u fix it? |
@gampleman can u help? How i can fix same error with no data on map? |
Hi @FreeGIS and @owl1n - I managed to run the code by using this:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
`import 'mapbox-gl/dist/mapbox-gl.css';
var mapboxgl = require('mapbox-gl');
import {sampleFill, particles, source} from '@astrosat/windgl';
mapboxgl.accessToken = 'xxxxxxxx';
var map = new mapboxgl.Map({
container: 'map',
style: 'mapbox://styles/mapbox/dark-v10'
});
map.on("load", () => {
const windSource = source("http://localhost:8080/windgl/wind/2019031012/tile.json");
map.addLayer(particles({
id: 'particles',
source: windSource, // best to share the same source between all layers
'particle-speed': ['interpolate', ['zoom'], 0, 0.5, 10, 0.8]
}));
});`
err:
windgl.umd.js:14097 Uncaught Error: Error: Unknown interpolation type zoom
The text was updated successfully, but these errors were encountered: