MGLSymbolStyleLayer text not showing
问题 I successfully added an MGLSymbolStyleLayer layer to my map and configured its look by data from GeoJSON that's loaded locally, but I'm unable to set the value for text property. This is how I'm trying to do it inside mapView(_ mapView: MGLMapView, didFinishLoading style: MGLStyle) method: customLayer.text = NSExpression(forKeyPath: "{name}") When I run the app, the text is never shown while the image is loaded correctly. This is how my GeoJSON is formated. { "type":"FeatureCollection",