(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[98],{"4h5n":function(t,e,i){"use strict";i.r(e),i.d(e,"TbMapMarkerMixin",(function(){return s}));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 n{constructor(){this.paths=[],this.style={},this.defaultStyle={},this.coordinates={latitude:0,longitude:0},this.tour=null,this.outdoorActiveTrackingId=null}}const s={data:()=>({isMapMarker:!0}),methods:{createOrUpdateMarker(t){return(t=t||new n).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.png",t.style.width=this.iconWidth||40,t.style.height=this.iconHeight||56,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 r={mixins:[s],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}}},l=i("KHd+"),a=Object(l.a)(r,o,[],!1,null,null,null);a.options.__file="node_modules/@newland/toubiz-widget/src/components/basic/tb-map-marker.vue";e.default=a.exports},"KHd+":function(t,e,i){"use strict";function o(t,e,i,o,n,s,r,l){var a,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=i,u._compiled=!0),o&&(u.functional=!0),s&&(u._scopeId="data-v-"+s),r?(a=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},u._ssrRegister=a):n&&(a=l?function(){n.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:n),a)if(u.functional){u._injectStyles=a;var d=u.render;u.render=function(t,e){return a.call(e),d(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,a):[a]}return{exports:t,options:u}}i.d(e,"a",(function(){return o}))}}]);