Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.53 KB

README.md

File metadata and controls

49 lines (30 loc) · 1.53 KB

ArcGIS Slides

This repo demonstrates using @arcgis/core ES modules with reveal.js.

reveal.js is an open source HTML presentation framework.

Demo

CIM Symbology Dev Presentation

Installation

Clone this repository to your machine.

$ git clone https://github.com/JonnyDawe/ArcGIS-Slides

Navigate to the root folder and install dependencies.

$ npm install

Start the local development server to see the CIM presentation sample in action.

$ npm run start

Usage

  • Slides are written as markdown inside of presentation.md and translated into HTML via markdown.js plugin
  • Interactive ArcGIS Map Snippets are embedded via iframes. The the data-src attribute is used to point the iframe to the correct code snippet to load in from ./snippets.
<!-- This loads the cim-points.ts file into the iframe -->
<iframe id="frame-cim-points" data-src="./snippet.html?cim-points"></iframe>

Attribution:

This project was heavily inspired and adapted from this repo created by jkieboom for the 2017 Esri Dev Summit. It has been adapted to use @arcgis/core ES Modules and webpack.

License

MIT