-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
Apparently drawing text labels is only possible if using a Mapbox basemap?
When using another map provider (such as stamen or osm), upon adding a layer which uses text-field, it throws:
Error: layers.symbols.layout.text-field: use of "text-field" requires a style "glyphs" property
Here is a working example with a mapbox vector tile source for the basemap:
http://jsfiddle.net/brianssheldon/wm18a33d/27/
And here is the same code, just with another basemap provider (here: osm, but same behavior with stamen):
http://jsfiddle.net/wm18a33d/38/
Is there a workaround? This would completely derail using mapbox-gl in my project if true.
Metadata
Metadata
Assignees
Labels
No labels