Better hash management
This commit is contained in:
@@ -87,6 +87,7 @@
|
||||
this.focusZoomLevel,
|
||||
() => {this.map.openMarkerPopup(this.options.id_message);}
|
||||
);
|
||||
this.hash.items = [this.hash.items[0], this.options.type, this.options.id_message];
|
||||
},
|
||||
openMarkerPopup() {
|
||||
if(this.map.isMarkerVisible(this.lngLat)) this.map.openMarkerPopup(this.options.id_message);
|
||||
@@ -160,7 +161,7 @@
|
||||
<p v-if="timeDiff">
|
||||
<projectRelTime :icon="'time'" :iconClasses="'push'" :localTime="absTimeLocal" :siteTime="options.formatted_time" :offset="options.day_offset" />
|
||||
</p>
|
||||
<a class="drill" @click.prevent="panMapToMessage">
|
||||
<a class="drill" @click.prevent="executeMainAction">
|
||||
<span v-if="options.weather_icon && options.weather_icon!='unknown'" class="weather clickable" :title="spot.lang(options.weather_cond)">
|
||||
<spotIcon :icon="options.weather_icon" />
|
||||
<span class="temperature">{{ options.weather_temp+'°C' }}</span>
|
||||
@@ -194,4 +195,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user