Open Mtehabsim opened 7 months ago
@Mtehabsim can you please share an example of the style you define for your layer?
@am2222 Sure
map.addLayer({
'id': 'points',
'type': 'symbol',
'source': 'pmTileSourceName',
"source-layer": "vector",
"filter": ["in", "$type", "Point"],
'layout': {
'icon-image': 'cat',
'icon-size': 0.25
}
@Mtehabsim
unfortunetly mapbox only supports symbols
for vector
and geojson
sources not custom source types. we might be able to monkey patch it
Hello, when adding a layer of type symbol It freeze and raise this:
uncaught TypeError: e is undefined continuePlacement pauseable_placement.js:35 continuePlacement pauseable_placement.js:109 _updatePlacement style.js:1751 _render map.js:3161 _frame map.js:3551 frame browser.js:37 _triggerFrame map.js:3545 triggerRepaint map.js:3539 _update map.js:3042 Map map.js:614 fire evented.js:129 fire evented.js:144 fire evented.js:144 update style.js:571 _render map.js:3135 _frame map.js:3551 frame browser.js:37 _triggerFrame map.js:3545 triggerRepaint map.js:3539 _update map.js:3042 addSource map.js:1993