(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["mbmp_pvm_EsriTiledOverlay"],{"26ef":function(t,e,n){"use strict";var i=n("59f3"),o=n.n(i);o.a},"2cdc":function(t,e,n){"use strict";n("d81d");var i,o,a,r=n("e11e"),l={name:"OpacitySlider",props:["layer","position","initialOpacity"],created:function(){var t=100*this.$props.initialOpacity;r["Control"].opacitySlider=r["Control"].extend({options:{position:"topright"},setOpacityLayer:function(t){i=t},onAdd:function(e){var n=r["DomUtil"].create("div","opacity_slider_control");return $(n).slider({orientation:"vertical",range:"min",min:0,max:100,value:t,step:10,start:function(t,n){e.dragging.disable(),e.once("mousedown",(function(t){e.dragging.enable()}))},slide:function(t,e){var n=e.value/100;i.setOpacity(n)}}),$(n).click((function(t){t.stopPropagation()})),n}})},mounted:function(){var t=this.$leafletElement=this.createLeafletElement(),e=this.$store.state.map;e&&this.$nextTick((function(){t.addTo(e.map)}))},destroyed:function(){this.$leafletElement._map.removeControl(this.$leafletElement)},methods:{createLeafletElement:function(){var t=new r["Control"].opacitySlider;return t.setPosition(this.$props.position),t.setOpacityLayer(this.$props.layer),t},parentMounted:function(t){var e=t.$leafletElement;e.addControl(this.$leafletElement)}},render:function(t){}},s=l,c=(n("26ef"),n("2877")),p=Object(c["a"])(s,o,a,!1,null,null,null);e["a"]=p.exports},"59f3":function(t,e,n){},"66d2":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("opacity-slider",{attrs:{layer:this.$leafletElement,position:"topleft","initial-opacity":t.opacity}})},o=[],a=(n("d81d"),n("3023")),r=n("2cdc"),l={name:"EsriTiledOverlay",components:{OpacitySlider:r["a"]},props:["url","minZoom","maxZoom","zIndex","attribution","opacity","test"],created:function(){var t=this.$leafletElement=this.createLeafletElement(),e=this.$store.state.map.map;e&&(t.addTo(e),e.attributionControl.removeAttribution("overwrite"))},destroyed:function(){this.$leafletElement._map.removeLayer(this.$leafletElement)},methods:{createLeafletElement:function(){var t=Object.assign({},this.$props),e=new a["d"](t);return e},parentMounted:function(t){var e=t.$leafletElement;this.$leafletElement.addTo(e)}}},s=l,c=n("2877"),p=Object(c["a"])(s,i,o,!1,null,null,null);e["default"]=p.exports}}]);
//# sourceMappingURL=mbmp_pvm_EsriTiledOverlay.eb8860f3.js.map