Esri Default — Marker

Here’s a clean feature, modeled after the classic red pin used in ArcGIS Online, ArcGIS API for JavaScript, and many ESRI maps. Feature Object (GeoJSON format) "type": "Feature", "geometry": "type": "Point", "coordinates": [-118.2437, 34.0522] , "properties": "title": "ESRI Default Location", "description": "Example point using ESRI default marker style", "marker-symbol": "marker", "marker-color": "#E32F2F", "marker-size": "medium"

const view = new MapView( container: "viewDiv", map: map, center: [-118.2437, 34.0522], zoom: 13 ); esri default marker

This gives you the look used across their web mapping platforms. Here’s a clean feature, modeled after the classic

// ESRI default marker (red pin) const point = new Point( longitude: -118.2437, latitude: 34.0522 ); Here’s a clean feature

require(["esri/Map", "esri/views/MapView", "esri/Graphic", "esri/geometry/Point"], function(Map, MapView, Graphic, Point) const map = new Map( basemap: "streets-navigation-vector" );