map.setProjection should return a map object for function call chaining
#11277
Labels
Milestone
map.setProjection should return a map object for function call chaining
#11277
Most our
set*APIs return a map object to allow for function call chaining, e.g.:Currently,
map.setProjectiondoesn't follow that pattern. We should update that for API consistency.Refer https://github.com/mapbox/mapbox-gl-js/blob/main/src/ui/map.js#L1020_L1027.
cc @ryanhamley
The text was updated successfully, but these errors were encountered: