Vue2leaflet: Enhancement: Expose property to enable/disable the zoom button layer.

Created on 4 Nov 2018  路  1Comment  路  Source: vue-leaflet/Vue2Leaflet

As a developer creating an app which tracks the user's current position on a mobile device, I would like the ability to disable the zoom in/out button layer on the map view. The attribute in the Leaflet project is called zoomControl and should be relatively easy to expose. I will try to submit a PR shortly for this feature.

Most helpful comment

You can do this at the moment by just using :options={ zoomControl: false } on the LMap component.

>All comments

You can do this at the moment by just using :options={ zoomControl: false } on the LMap component.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mnboos picture mnboos  路  3Comments

CharlesOkwuagwu picture CharlesOkwuagwu  路  5Comments

martinwithyou picture martinwithyou  路  4Comments

shtw picture shtw  路  5Comments

mpallante picture mpallante  路  4Comments