(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[202],{Ws18:function(t,e,i){"use strict";i.r(e),i.d(e,"TbWMapMarkerMixin",(function(){return l}));var o=function(){var t=this.$createElement,e=this._self._c||t;return this.$slots.default?e("div",[this._t("default")],2):this._e()};o._withStripped=!0;class s{constructor(){this.paths=[],this.style={},this.defaultStyle={},this.coordinates={latitude:0,longitude:0},this.tour=null,this.outdoorActiveTrackingId=null}}const l={data:()=>({isMapMarker:!0}),methods:{createOrUpdateMarker(t){return(t=t||new s).id=this.id,t.paths=this.paths||[],t.coordinates.longitude=this.longitude,t.coordinates.latitude=this.latitude,t.style.iconUrl=this.iconUrl||"https://icons.toubiz.de/png/64x64/map-marker-poi.png",t.style.width=this.iconWidth||64,t.style.height=this.iconHeight||64,t.style.offsetX=this.iconOffsetX||t.style.width/2,t.style.offsetY=this.iconOffsetY||t.style.height,this.tourPolygon&&(t.tour={polygon:this.tourPolygon,alwaysDisplayPolygon:this.alwaysShowTour,color:this.tourColor}),t},isInPath(t){for(const e of this.paths)if(0===e.indexOf(t))return!0;return!1}}};var n={mixins:[l],props:{id:{type:String,required:!0},paths:{type:Array,default:()=>[]},longitude:{type:Number,required:!0},latitude:{type:Number,required:!0},iconUrl:{type:String,default:null},iconWidth:{type:Number,default:null},iconHeight:{type:Number,default:null},iconOffsetX:{type:Number,default:null},iconOffsetY:{type:Number,default:null},tourPolygon:{type:Array,default:null},alwaysShowTour:{type:Boolean,default:!1},tourColor:{type:String,default:null}}},r=i("KHd+"),u=Object(r.a)(n,o,[],!1,null,null,null);u.options.__file="node_modules/@newland/toubiz-widget/src/components/basic/tb-w-map-marker.vue";e.default=u.exports}}]);