diff options
author | Christopher Baines <cbaines8@gmail.com> | 2013-02-07 00:11:36 +0000 |
---|---|---|
committer | Christopher Baines <cbaines8@gmail.com> | 2013-02-07 00:11:36 +0000 |
commit | 57d851b3bad13db30d233ac70a651a110fa04d3f (patch) | |
tree | 2b440d75172346a59a6bf3cd19bddc5ad8da5056 /resources/data.js | |
parent | ecebbf676e8be8945058e013b91a2c023b474b0b (diff) | |
download | health-map-57d851b3bad13db30d233ac70a651a110fa04d3f.tar health-map-57d851b3bad13db30d233ac70a651a110fa04d3f.tar.gz |
Big post Hack Weekend refactor.
Updating the popups after the data on the settlements works, but
only for the popup open at the time the data loads (if any). This
needs more thinking about...
Diffstat (limited to 'resources/data.js')
-rw-r--r-- | resources/data.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/resources/data.js b/resources/data.js index 85a77c2..e69de29 100644 --- a/resources/data.js +++ b/resources/data.js @@ -1,9 +0,0 @@ -function getVillages(area, zoom) { - var poly = "12.3 -12.3 12.4 -12.3 12.48 -12.25 12.35 -12.19"; - var query = 'data=[out:json];(node(poly:"' + poly + '");<;);out;'; - - converter = new op2geojson(); - converter.fetch("http://overpass-api.de/api/interpreter", query, zoom, function(data) { - - }); -} |