Tom Wayson
slides: https://bit.ly/2H3143h
Let's you use ArcGIS API like any other library 🎉
import Map from 'esri/Map'
import MapView from 'esri/views/MapView';
var map = new Map({ basemap: "streets" });
var view = new MapView({
container: "viewDiv",
map: map
});
import { loadModules } from 'esri-loader'
loadModules([
'esri/views/MapView',
'esri/WebMap'
]).then(([MapView, WebMap]) => {
// use MapView and WebMap as normal
})
Not really... but let's pretend
<Component />
var diamondSymbol = {
type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
style: "diamond",
color: [ 255, 128, 45 ], // autocasts as new Color()
outline: { // autocasts as new SimpleLineSymbol()
style: "dash-dot",
color: [ 255, 128, 45 ] // Again, no need for specifying new Color()
}
};
useIdentiy: false