MCPcopy Create free account
hub / github.com/carbonplan/maps / enableUnsupportedControls

Function enableUnsupportedControls

src/map-provider.js:91–95  ·  view source on GitHub ↗
(map)

Source from the content-addressed store, hash-verified

89}
90
91const enableUnsupportedControls = (map) => {
92 map.touchZoomRotate.enableRotation()
93 map.dragRotate.enable()
94 map.touchPitch.enable()
95}
96
97const setMapView = (map) => {
98 map.setPitch(0)

Callers 1

map-provider.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected