Skip to content

Commit

Permalink
Фильтр границ парка
Browse files Browse the repository at this point in the history
  • Loading branch information
mkgrgis committed Mar 16, 2024
1 parent ef55a58 commit b3a62f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion explication.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ L.OSM.park_explication = function(osm_obj_type, osm_obj_id, f_fin_ok){
if (this.getWikiData)
this.getWikiData(t ? t.wikidata : null);
var xhr = new XMLHttpRequest();
xhr.url = 'https://overpass-api.de/api/interpreter?data=[out:xml];( relation(' + this.osm_obj_id +'););map_to_area;(nwr(area);>;);out+meta;';
xhr.url = 'https://overpass-api.de/api/interpreter?data=[out:xml];( relation(' + this.osm_obj_id +'););map_to_area;(nwr(area);<;);out+meta;';
xhr.open('GET', xhr.url, true);
xhr.ini_obj = this;
xhr.send();
Expand Down

0 comments on commit b3a62f6

Please sign in to comment.