Removing initial map flickering
This commit is contained in:
@@ -127,10 +127,10 @@
|
||||
executeMainAction() {
|
||||
switch(this.options.type) {
|
||||
case 'message':
|
||||
return this.panMapToMarker(0);
|
||||
return this.openMarkerPopup(false);
|
||||
case 'media':
|
||||
this.$refs.medialink.openMedia();
|
||||
if(this.lngLat) return this.panMapToMarker(0);
|
||||
if(this.lngLat) return this.openMarkerPopup(false);
|
||||
default:
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user