From 02f9d1058e622d5e8c0abcdd907d57dd50549209 Mon Sep 17 00:00:00 2001 From: Silvio Date: Wed, 3 Apr 2013 19:01:32 -0300 Subject: Example update --- README | 60 ------------------------------------------------------------ README.md | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 60 deletions(-) delete mode 100644 README create mode 100644 README.md diff --git a/README b/README deleted file mode 100644 index b93adcc..0000000 --- a/README +++ /dev/null @@ -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. diff --git a/README.md b/README.md new file mode 100644 index 0000000..f3dd2e5 --- /dev/null +++ b/README.md @@ -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. -- cgit v1.2.3