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
So to add support to the custom vector layers I noticed that in the style.js we only support symbol layers for the vector and geojson source types. However I noticed that there is another parameter source._dataType which can be used so it also supports custom source types
Motivation
So to add support to the custom vector layers I noticed that in the style.js we only support symbol layers for the
vector
andgeojson
source types. However I noticed that there is another parametersource._dataType
which can be used so it also supports custom source typesHere is the line that checks for the source.type
mapbox-gl-js/src/style/style.js
Line 1408 in fd2045f
I guess changing it to check based on
source._dataType
will allow custom sources to support symbols tooDesign Alternatives
it allows to add better support for the vector custom sources.
Implementation
mapbox-gl-js/src/style/style.js
Line 1408 in fd2045f
I guess changing it to check based on
source._dataType
will allow custom sources to support symbols tooThe text was updated successfully, but these errors were encountered: