You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 3, 2025. It is now read-only.
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:
vl-control-default-set (or some another name) - an extra meta component that will includes standard OpenLayers enabled controls ol/control/defaults
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>