aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2013-04-03 18:30:53 -0300
committerSilvio <silvio@socioambiental.org>2013-04-03 18:30:53 -0300
commit2c26c924910d6e0aa30dd8be1b1fdf510da58bcb (patch)
treeebaf2ce853d5a2dfcedcd1eadc276513ab26ea13
parent0b8f1acba94861848c92589831df2bea8d39ac86 (diff)
downloadgmap_arcgis_js-2c26c924910d6e0aa30dd8be1b1fdf510da58bcb.tar.gz
gmap_arcgis_js-2c26c924910d6e0aa30dd8be1b1fdf510da58bcb.tar.bz2
README
-rw-r--r--README60
1 files changed, 60 insertions, 0 deletions
diff --git a/README b/README
index e69de29..b93adcc 100644
--- a/README
+++ b/README
@@ -0,0 +1,60 @@
+Gmap ArcGIS JS
+==============
+
+This small library helps you to manage lots of ArcGIS layers and markers in your Google Maps v3.
+
+Features
+--------
+
+ - Can easily show and hide KMLs, layers and markers from any ArcGIS server.
+ - Support for Identify tasks.
+ - jQuery slider support to show multiple layers using a scrollable slider.
+
+Requirements
+------------
+
+ - ArcGIS Link.
+ - jQuery and jQuery UI.
+
+Usage
+-----
+
+Create a gmapArcgis object for your map and define layers, markers and kmls:
+
+ var myGmapArcgis = new gmapArcgis({
+ // Map object
+ map: map,
+
+ // Map html element
+ mapName: mapID,
+
+ layers: {
+ mylayer: {
+ overlayTime: 5000,
+ uri: mapServiceUrl,
+ opacity: 0.65,
+ layers: [1],
+ showOn: [ 'map' ],
+ },
+
+ markers: {
+ mymarker: {
+ uri: mapServiceUrl + '/' + layerName,
+ overlayTime: 2000,
+ fields: [ ],
+ content: markerCallback,
+ icon: 'example.png',
+ showOn: [ 'map' ],
+ },
+ },
+ });
+
+Then you should be able to display them easily:
+
+ myGmapArcgis.addLayers('mylayer');
+ myGmapArcgis.addMarkers('mymarker');
+
+Examples
+--------
+
+Check the examples/ folder for working examples.