You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe promoteId should be supported by either source_geojson or source_vector, and not source_raster_dem.
promoteId has an unclear type signature
The spec says, "Either a property name, or an object of the form {<sourceLayer>: <propertyName>}". Can we include an object type definition in the spec similar to how we do for sources (
"doc": "Specification of a data source. For vector and raster sources, either TileJSON or a URL to a TileJSON must be provided. For image and video sources, a URL must be provided. For GeoJSON sources, a URL or inline GeoJSON must be provided."
}
},
)? Right now there is no type specified, which makes it difficult to generate a UI for setting this property :)
Additionally, it isn't clear to me how to use the string form of this property. Would the string form only be used with geoJSON? Is there a way the spec can make that clear?
The text was updated successfully, but these errors were encountered:
mapbox-gl-style-spec version: 13.11.0-dev
browser: N/A
promoteId appears to be incorrectly applied to source types
The spec states that only source_geojson and source_raster_dem support promoteId.
I believe promoteId should be supported by either source_geojson or source_vector, and not source_raster_dem.
promoteId has an unclear type signature
The spec says, "Either a property name, or an object of the form
{<sourceLayer>: <propertyName>}
". Can we include an objecttype
definition in the spec similar to how we do for sources (mapbox-gl-js/src/style-spec/reference/v8.json
Lines 107 to 112 in 51d75fc
Additionally, it isn't clear to me how to use the string form of this property. Would the string form only be used with geoJSON? Is there a way the spec can make that clear?
The text was updated successfully, but these errors were encountered: