Commit 86133c5c authored by Amon's avatar Amon
Browse files

Removed see on map link

parent cd032c5b
......@@ -127,12 +127,11 @@ function circleMarkerClick (event, map) {
let lat = geometry.coordinates[1]
let lng = geometry.coordinates[0]
var center = {lat: geometry.coordinates[1], lng: geometry.coordinates[0]}
let link = `https://openrouteservice.org/map/#/place/${lat},${lng}/@${lng},${lat}/data/%7B%22layer%22:null,%22country%22:null%7D`
var popupContent = `
Name: <b>${properties.name}</b></br>
Description: <b>${properties.description}</b></br>
Study type: <b>${properties.study_type}</b></br>
Location (lat,lng): <b>${lat}, ${lng}</b> - <a target="_blank" href='${link}'>See on map</a></br>
Location (lat,lng): <b>${lat}, ${lng}</b></br>
Date: <b>${properties.time}</b>`;
popup.setLatLng(center);
popup.setContent(popupContent);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment