ZoomControl
A basic control with two buttons for zooming in and out. It is added to the
map by default unless you set its zoomControl
option to false
.
Extends:
Control
new constructor
(map, options)
Example:
const control = new mapgl.ZoomControl(
map,
{ position: 'topRight' },
);
Parameters
Methods