mapbox / mapbox-gl-style-spec

76 stars 38 forks source link

Validator should prohibit use of source-layer for GeoJSON sourced layers #620

Closed jfirebaugh closed 7 years ago

jfirebaugh commented 7 years ago

source-layer should be prohibited for layers whose source is a GeoJSON layer, not merely ignored, or in the example of https://github.com/mapbox/mapbox-gl-js/issues/3779, used in a way that prevents the layer from displaying at all.

Marking this as v9 as it would be an increase in strictness that that's likely to affect existing styles, including ones used with the current styles API.

lucaswoj commented 7 years ago

ref https://github.com/mapbox/mapbox-gl-js/issues/3784

lucaswoj commented 7 years ago

This issue was moved to mapbox/mapbox-gl-js#4155