This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Description
Currently VueLayers doesn't has any components for OpenLayers standard controls. And the only way
to work with them is through underlying ol.Map instance of the vl-map component.
The main goal is to implement an all standard controls to easily work with them as Vue components:
Also an basic control mixin as a base type for all controls should be implemented to allow easy extending.
Usage example:
// by default nothing is enabled
<vl-map ...></vl-map>
// map with default set of controls
<vl-map ...>
<vl-control-default-set ...></vl-control-default-set>
</vl-map>
// map with custom controls markup
<vl-map ...>
<vl-control-zoom ...></vl-control-zoom>
<vl-control-scale-line ...></vl-control-scale-line>
...
</vl-map>