mirror of
https://github.com/umap-project/umap.git
synced 2025-04-29 20:02:36 +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.locatecontrol": "0.81.1",
|
||||||
"leaflet.markercluster": "^1.5.3",
|
"leaflet.markercluster": "^1.5.3",
|
||||||
"leaflet.path.drag": "0.0.6",
|
"leaflet.path.drag": "0.0.6",
|
||||||
"leaflet.photon": "0.9.1",
|
"leaflet.photon": "0.9.2",
|
||||||
"osmtogeojson": "^3.0.0-beta.5",
|
"osmtogeojson": "^3.0.0-beta.5",
|
||||||
"simple-statistics": "7.8.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) {
|
if (feature.properties.city && feature.properties.city !== feature.properties.name) {
|
||||||
details.push(feature.properties.city);
|
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);
|
if (feature.properties.country) details.push(feature.properties.country);
|
||||||
detailsContainer.innerHTML = details.join(', ');
|
detailsContainer.innerHTML = details.join(', ');
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue