From 4de7ab74aa44ffcd49bf62e118ba709d731cba6d Mon Sep 17 00:00:00 2001 From: Silvio Date: Mon, 4 Aug 2014 15:49:18 -0300 Subject: Fix indexing at showPolygonFromQueryMultiple() --- gmap_arcgis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- cgit v1.2.3