aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2014-08-04 15:49:18 -0300
committerSilvio <silvio@socioambiental.org>2014-08-04 15:49:18 -0300
commit4de7ab74aa44ffcd49bf62e118ba709d731cba6d (patch)
tree991de2b3be7f46d8142acd6cfe3e50bc5403a317
parent0a2e0d1defe569dd5ab986ab1a4527279f653946 (diff)
downloadgmap_arcgis_js-4de7ab74aa44ffcd49bf62e118ba709d731cba6d.tar.gz
gmap_arcgis_js-4de7ab74aa44ffcd49bf62e118ba709d731cba6d.tar.bz2
Fix indexing at showPolygonFromQueryMultiple()
-rw-r--r--gmap_arcgis.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmap_arcgis.js b/gmap_arcgis.js
index e27808d..2127e4e 100644
--- a/gmap_arcgis.js
+++ b/gmap_arcgis.js
@@ -623,7 +623,7 @@ function gmapArcgis(config) {
// First find out in which layers there are results
for (var n in layers) {
- var layer = n;
+ var layer = layers[n];
var args = jQuery.extend(true, {}, params);
var url = URL_ARCGIS_TIS + '/' + layer + '/query?where=' + where + '&f=pjson';