api :memo:feature :green_apple:good first issue
倉庫指標
- 星標
- (10,532 顆星)
- PR 合併指標
- (PR 指標待抓取)
描述
Motivation
I'm trying to implement a utility function to solve #6531: map.U.lockRotation().
Because the navigation control would have already been constructed and added to the map, it's too late to just not add it. Hence I need to find the existing navigation control and either modify it, or remove it then re-add it.
Design Alternatives
map.getControl(mapboxgl.NavigationControl)?