aboutsummaryrefslogtreecommitdiff
path: root/resources/data.js
blob: 85a77c276d6c8f7755a0028720dcfd02fe6f3c1c (plain)
1
2
3
4
5
6
7
8
9
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) {
		
	});
}