|
@ -170,6 +170,16 @@ export default class extends Controller { |
|
|
window.open(url, '_blank'); |
|
|
window.open(url, '_blank'); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
openInGeohack() { |
|
|
|
|
|
const url = "https://geohack.toolforge.org/geohack.php?params="+this.mapInstance.getCenter().lat+"_N_"+this.mapInstance.getCenter().lng+"_E"; |
|
|
|
|
|
window.open(url, '_blank'); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
openInGeoportail() { |
|
|
|
|
|
const url = "https://www.geoportail.gouv.fr/carte?c="+this.mapInstance.getCenter().lng+","+this.mapInstance.getCenter().lat+"&z="+this.mapInstance.getZoom()+"&permalink=yes"; |
|
|
|
|
|
window.open(url, '_blank'); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
openInMapillary() { |
|
|
openInMapillary() { |
|
|
const url = "https://www.mapillary.com/app/?lat="+this.mapInstance.getCenter().lat+"&lng="+this.mapInstance.getCenter().lng+"&z="+this.mapInstance.getZoom(); |
|
|
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'); |
|
|
window.open(url, '_blank'); |
|
@ -180,4 +190,9 @@ export default class extends Controller { |
|
|
window.open(url, '_blank'); |
|
|
window.open(url, '_blank'); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
openInBing() { |
|
|
|
|
|
const url = "https://www.bing.com/maps/?cp="+this.mapInstance.getCenter().lat+"%7E"+this.mapInstance.getCenter().lng+"&lvl="+this.mapInstance.getZoom(); |
|
|
|
|
|
window.open(url, '_blank'); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |