diff options
-rw-r--r-- | resources/map.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/resources/map.js b/resources/map.js index 077e370..2886460 100644 --- a/resources/map.js +++ b/resources/map.js @@ -59,8 +59,10 @@ $(document).ready(function() { function createQueryData(bbox) { // TODO: Use POST instead of GET, for neatness return "data=[out:json];" + - "(node[amenity=hospital]("+ bbox - +");way[amenity=hospital]("+ bbox +");node(w););out;"; + "(node[amenity=hospital]("+ bbox +");way[amenity=hospital]("+ bbox +");node(w););" + + "(node[amenity=doctors]("+ bbox +");way[amenity=doctors]("+ bbox +");node(w););" + + "(node[amenity=dentist]("+ bbox +");way[amenity=dentist]("+ bbox +");node(w););" + + "out;"; } map.on('hospitalsfetched', addHospitalLayer); |