GeoJsonSourceOptions | MapGL | 2GIS Documentation

GeoJsonSourceOptions

GeoJson data source initialization options.

Properties

Data source attributes.

FeatureCollectionFeature

GeoJSON collection of feature objects or feature object.

undefinednumber

Number of coordinates per vertex in the input array (2 by default)

undefinednumber

The maximum zoom value for which geojson tiles will be generated.

undefinedstring

Path to the models. Used when model's url in the source is a relative path