]> git.openstreetmap.org Git - nominatim-ui.git/blob - src/assets/js/polygons.js
dont intercept links in last-updated page section
[nominatim-ui.git] / src / assets / js / polygons.js
1 // *********************************************************
2 // BROKEN POLYGON PAGE
3 // *********************************************************
4
5 function polygons_page_load() {
6   //
7   var api_request_params = {
8     format: 'json'
9   };
10
11   fetch_from_api('polygons', api_request_params, function (aPolygons) {
12     var context = { aPolygons: aPolygons };
13
14     render_template($('main'), 'polygons-template', context);
15     update_html_title('Broken polygons');
16
17     update_data_date();
18   });
19 }