GeoJsonViewportSource
Class for creating GeoJSON viewport data source in the map.
new constructor
(map, options)
Example:
const source = new GeoJsonViewportSource(map, {
data: (bbox) => `http://...&outputFormat=application%2Fjson&bbox=${bbox}`,
});
Parameters
Methods