mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 01:34:24 +08:00
code refactor
This commit is contained in:
@@ -81,8 +81,9 @@ export default {
|
|||||||
this.zoomControl.addTo(this.leaflet);
|
this.zoomControl.addTo(this.leaflet);
|
||||||
|
|
||||||
this.attribution = this.$map.leaflet.control.attribution({
|
this.attribution = this.$map.leaflet.control.attribution({
|
||||||
prefix: '© <a href="http://www.openstreetmap.org/copyright" class="external" target="_blank">OpenStreetMap</a>'
|
prefix: false
|
||||||
});
|
});
|
||||||
|
this.attribution.addAttribution('© <a href="http://www.openstreetmap.org/copyright" class="external" target="_blank">OpenStreetMap</a>');
|
||||||
this.attribution.addTo(this.leaflet);
|
this.attribution.addTo(this.leaflet);
|
||||||
|
|
||||||
isFirstInit = true;
|
isFirstInit = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user