0

Can I change the size of road label programmatically? In some case, I need to enlarge the road label and restore its original size after a short time. Currently, I can achieve it by loading another map style and the map will be reloaded completely. Can anyone give me a suggestion?

Kingfisher Phuoc
  • 8,052
  • 9
  • 46
  • 86
  • Hi, can you help me with mapbox navigation sdk, im kinda lost if you could give me some code sample it would be great thanks. – Gooner Aug 12 '17 at 05:17

1 Answers1

0

Depending on the map style you are using, you can acquire the road labels layer using mapboxMap.getLayer() and then set the property making the assumption that it's a symbol layer.

cammace
  • 3,138
  • 1
  • 13
  • 18