Esri Default Marker ((install)) Official

const graphic = new Graphic( geometry: point, symbol: markerSymbol, attributes: name: "Sample Location" );

// ESRI default marker (red pin) const point = new Point( longitude: -118.2437, latitude: 34.0522 ); esri default marker

This gives you the look used across their web mapping platforms. const graphic = new Graphic( geometry: point, symbol:

const markerSymbol = type: "simple-marker", style: "circle", color: [227, 47, 47], // ESRI red size: 12, outline: color: [255, 255, 255], width: 2 ; attributes: name: "Sample Location" )

Related News

Discover more from Marblehead Current

Subscribe now to keep reading and get access to the full archive.

Continue reading