|
|
@ -170,4 +170,14 @@ export default class extends Controller { |
|
|
|
window.open(url, '_blank'); |
|
|
|
} |
|
|
|
|
|
|
|
openInMapillary() { |
|
|
|
const url = "https://www.mapillary.com/app/?lat="+this.mapInstance.getCenter().lat+"&lng="+this.mapInstance.getCenter().lng+"&z="+this.mapInstance.getZoom(); |
|
|
|
window.open(url, '_blank'); |
|
|
|
} |
|
|
|
|
|
|
|
openInGoogleMaps() { |
|
|
|
const url = "https://www.google.com/maps/@"+this.mapInstance.getCenter().lat+","+this.mapInstance.getCenter().lng+","+this.mapInstance.getZoom()+"z"; |
|
|
|
window.open(url, '_blank'); |
|
|
|
} |
|
|
|
|
|
|
|
} |