mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 11:32:38 +02:00
parent
b7cce7079d
commit
188a0d6e98
2 changed files with 4 additions and 1 deletions
|
@ -59,7 +59,7 @@
|
|||
"leaflet.locatecontrol": "0.81.1",
|
||||
"leaflet.markercluster": "^1.5.3",
|
||||
"leaflet.path.drag": "0.0.6",
|
||||
"leaflet.photon": "0.9.1",
|
||||
"leaflet.photon": "0.9.2",
|
||||
"osmtogeojson": "^3.0.0-beta.5",
|
||||
"simple-statistics": "7.8.5"
|
||||
},
|
||||
|
|
|
@ -258,6 +258,9 @@ L.PhotonBaseSearch = L.PhotonBase.extend({
|
|||
if (feature.properties.city && feature.properties.city !== feature.properties.name) {
|
||||
details.push(feature.properties.city);
|
||||
}
|
||||
if (feature.properties.state && feature.properties.state !== feature.properties.name) {
|
||||
details.push(feature.properties.state);
|
||||
}
|
||||
if (feature.properties.country) details.push(feature.properties.country);
|
||||
detailsContainer.innerHTML = details.join(', ');
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue