Fork me on GitHub

Advanced Esri Leaflet

Patrick Arlt

Experience Developer - ArcGIS for Developers

@patrickarlt - http://arcg.is/1DMjcEO

Not an Intro Session

I'll assume you have at least Esri Leaflet experiance.

What are we doing?

  • Local Dev Environment
  • Source Maps & Debugging
  • Custom Build From Source
  • Request and Util Methods
  • Extend Built In Objects

Local Dev Environment

  • Fork
  • Clone
  • debug/sample.html
  • Run tests

Source Maps and Breaking Things

  • Dev Tools > Settings > Enable JavaScript source maps
  • Now errors in the CDN will map to source!

Custom Build

  • Clone Gruntfile.js
  • Edit file list
  • grunt build --gruntfile=Gruntfile.custom.js

Demos!

Thanks!

www.esri.com/RateMyDevSummitSession

Twitter: @patrickarlt

Slides: http://arcg.is/1DMjcEO

Esri