diff options
author | Silvio <silvio@socioambiental.org> | 2013-04-03 19:01:32 -0300 |
---|---|---|
committer | Silvio <silvio@socioambiental.org> | 2013-04-03 19:01:32 -0300 |
commit | 02f9d1058e622d5e8c0abcdd907d57dd50549209 (patch) | |
tree | 0e636e28137465e21c8cbefeb3fb4d72f942985c /README | |
parent | 2c26c924910d6e0aa30dd8be1b1fdf510da58bcb (diff) | |
download | gmap_arcgis_js-02f9d1058e622d5e8c0abcdd907d57dd50549209.tar.gz gmap_arcgis_js-02f9d1058e622d5e8c0abcdd907d57dd50549209.tar.bz2 |
Example update
Diffstat (limited to 'README')
-rw-r--r-- | README | 60 |
1 files changed, 0 insertions, 60 deletions
@@ -1,60 +0,0 @@ -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. |