require(["esri/Map", "esri/views/MapView", "esri/Graphic", "esri/geometry/Point"], function(Map, MapView, Graphic, Point) const map = new Map( basemap: "streets-navigation-vector" );
This gives you the look used across their web mapping platforms. esri default marker
// ESRI default marker (red pin) const point = new Point( longitude: -118.2437, latitude: 34.0522 ); latitude: 34.0522 )
const graphic = new Graphic( geometry: point, symbol: markerSymbol, attributes: name: "Sample Location" ); attributes: name: "Sample Location" )