(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pvm_MbIcon"],{f1d8:function(e,t,o){"use strict";o.r(t);o("caad"),o("d81d"),o("b64b"),o("2532");var n,a,s={name:"MbIcon",props:["url","rotationAngle"],watch:{rotationAngle:function(e){console.log("watch rotationAngle, this.$mapboxElement:",this.$mapboxElement)}},mounted:function(){var e=this.$store.state.map;console.log("MbIcon.vue mounted is running, map:",e);this.$mapboxElement=this.createMapboxElement();e&&this.parentMounted(e)},destroyed:function(){var e=this.$store.state.map.map;e.removeLayer("points")},methods:{createMapboxElement:function(){console.log("MbIcon.vue createMapboxElement");var e=this.$store.state.map.map;console.log("MbIcon.vue parentMounted is running, map:",e),e.loadImage(this.$props.url,(function(t,o){if(t)throw t;console.log("in loadImage callback, map:",e),Object.keys(e.style.imageManager.images).includes("markers")||e.addImage("markers",o),Object.keys(e.style.sourceCaches).includes("point")||e.addSource("point",{type:"geojson",data:{type:"FeatureCollection",features:[{type:"Feature",geometry:{type:"Point",coordinates:[-75.163471,39.953338]}}]}}),e.addLayer({id:"points",type:"symbol",source:"point",layout:{"icon-image":"markers","icon-size":.2,"icon-keep-upright":!0,"icon-rotation-alignment":"map"}})}))},parentMounted:function(e){}},render:function(e){}},i=s,r=o("2877"),c=Object(r["a"])(i,n,a,!1,null,null,null);t["default"]=c.exports}}]);
//# sourceMappingURL=pvm_MbIcon.427cdc1d.js.map