aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gmap_arcgis.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/gmap_arcgis.js b/gmap_arcgis.js
index 79a1e50..ef5da45 100644
--- a/gmap_arcgis.js
+++ b/gmap_arcgis.js
@@ -9,10 +9,9 @@ var map, mapExtension, gOverlays;
// Setup custom GMap Overlays (layers and labels)
function gmap_arcgis() {
- // Fallback setting
- var fallback = 'http://mapserver.fqdn/rest/services/app/MapServer';
- var polygons = [ fallback ];
- var labels = [ fallback + '/1' ];
+ // Variables
+ var polygons = new Array();
+ var labels = new Array();
var fields = new Array();
var id = 'auto1map';
var content, label;