aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2013-03-13 15:58:45 -0300
committerSilvio <silvio@socioambiental.org>2013-03-13 15:58:45 -0300
commitf2e1e7d673f93d33c3df088af7d08f142d56fe1c (patch)
tree3fc59c8549a1e378a25fc264e9082b134191c824
parent0ecdb60bf4d8817ee5190dfaa10e0a4571c76468 (diff)
downloadgmap_arcgis-f2e1e7d673f93d33c3df088af7d08f142d56fe1c.tar.gz
gmap_arcgis-f2e1e7d673f93d33c3df088af7d08f142d56fe1c.tar.bz2
Setting geometry at layer query
-rw-r--r--gmap_arcgis.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/gmap_arcgis.js b/gmap_arcgis.js
index a3fd281..24cbc04 100644
--- a/gmap_arcgis.js
+++ b/gmap_arcgis.js
@@ -140,8 +140,7 @@ function gmapArcgis(config) {
// Query parameters
var query = {
returnGeometry: true,
- // TODO
- //queryGeometry: bounds,
+ geometry: bounds,
where: (this.config['markers'][element].where != undefined) ? this.config['markers'][element].where : '1=1',
outFields: this.config['markers'][element].fields,
};