diff options
author | Silvio <silvio@socioambiental.org> | 2014-08-04 15:49:18 -0300 |
---|---|---|
committer | Silvio <silvio@socioambiental.org> | 2014-08-04 15:49:18 -0300 |
commit | 4de7ab74aa44ffcd49bf62e118ba709d731cba6d (patch) | |
tree | 991de2b3be7f46d8142acd6cfe3e50bc5403a317 | |
parent | 0a2e0d1defe569dd5ab986ab1a4527279f653946 (diff) | |
download | gmap_arcgis_js-4de7ab74aa44ffcd49bf62e118ba709d731cba6d.tar.gz gmap_arcgis_js-4de7ab74aa44ffcd49bf62e118ba709d731cba6d.tar.bz2 |
Fix indexing at showPolygonFromQueryMultiple()
-rw-r--r-- | gmap_arcgis.js | 2 |
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'; |