maplibre / flutter-maplibre-gl

Customizable, performant and vendor-free vector and raster maps, flutter wrapper for maplibre-native and maplibre-gl-js (fork of flutter-mapbox-gl/maps)
https://pub.dev/packages/maplibre_gl
Other
226 stars 125 forks source link

Layer 'iG3JXRi95F_0' has an invalid value for text-font and will not render text. Output values must be contained as literals within the expression. #288

Closed ThalesVonMilet closed 1 year ago

ThalesVonMilet commented 1 year ago

Hi I come from stadia map and my issue is that the literals are set wrong for my symbol layer and I don't know how to change them. The current ones are text-font: [case, [has, fontNames], [get, fontNames], [literal, [Open Sans Regular, Arial Unicode MS Regular]]] but I need to make them to text-font: [case, [has, fontNames], [get, fontNames], [literal, [Stadia Regular, ...]]]

Thanks for the help in regards :)

ianthetechie commented 1 year ago

Hello @ThalesVonMilet! Ian from the Stadia Maps team, here. Could you provide an example code snippet? It sounds like you might be trying to use a theme with our styles which uses a font we don't provide (Arial Unicode MS, as we do not have a license to distribute it).

If you can provide some more details on your project (or even better, an example project, purging any API keys or other sensitive info), then I should be able to help you get past the roadblock.

m0nac0 commented 1 year ago

Closing this since there was no response so far. Feel free to reopen if you need more help.