<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to add a pointer or a marker on a map using coordinates? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-a-pointer-or-a-marker-on-a-map-using/m-p/277019#M25554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The module require needs to match up with those in the function. So you have&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="token function"&gt;require&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"esri/views/MapView"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;"esri/WebMap"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;"esri/config"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;"esri/widgets/Sketch"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;"esri/Graphic"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;"esri/layers/GraphicsLayer"&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;MapView&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; Graphic&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; WebMap&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; esriConfig&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; Sketch&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; GraphicsLayer&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;try changing it to&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="token function"&gt;require&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"esri/views/MapView"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;"esri/WebMap"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;"esri/Graphic"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;"esri/config"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;"esri/widgets/Sketch"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;"esri/layers/GraphicsLayer"&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;MapView&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; WebMap&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; Graphic&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; esriConfig&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; Sketch&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; GraphicsLayer&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 13:29:25 GMT</pubDate>
    <dc:creator>BenElan</dc:creator>
    <dc:date>2021-12-11T13:29:25Z</dc:date>
    <item>
      <title>How to add a pointer or a marker on a map using coordinates?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-a-pointer-or-a-marker-on-a-map-using/m-p/277017#M25552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to add a pointer or a marker on a webmap using coordinates. Below is the code to my original map, it works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt; &amp;lt;head&amp;gt;&lt;BR /&gt; &amp;lt;meta charset="utf-8" /&amp;gt;&lt;BR /&gt; &amp;lt;meta&lt;BR /&gt; name="viewport"&lt;BR /&gt; content="initial-scale=1,maximum-scale=1,user-scalable=no"&lt;BR /&gt; /&amp;gt;&lt;BR /&gt; &amp;lt;title&amp;gt;Load a basic WebMap - 4.14&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;style&amp;gt;&lt;BR /&gt; html,&lt;BR /&gt; body,&lt;BR /&gt; #viewDiv {&lt;BR /&gt; padding: 0;&lt;BR /&gt; margin: 0;&lt;BR /&gt; height: 100%;&lt;BR /&gt; width: 100%;&lt;BR /&gt; }&lt;BR /&gt; &amp;lt;/style&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;link&lt;BR /&gt; rel="stylesheet"&lt;BR /&gt; href="https://js.arcgis.com/4.14/esri/themes/light/main.css"&lt;BR /&gt; /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script src="https://js.arcgis.com/4.14/"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;BR /&gt; require(["esri/views/MapView", "esri/WebMap", "esri/config", "esri/widgets/Sketch", "esri/layers/GraphicsLayer"], function(MapView, WebMap, esriConfig, Sketch, GraphicsLayer) {&lt;BR /&gt; /************************************************************&lt;BR /&gt; * Creates a new WebMap instance. A WebMap must reference&lt;BR /&gt; * a PortalItem ID that represents a WebMap saved to&lt;BR /&gt; * arcgis.com or an on-premise portal.&lt;BR /&gt; *&lt;BR /&gt; * To load a WebMap from an on-premise portal, set the portal&lt;BR /&gt; * url with esriConfig.portalUrl.&lt;BR /&gt; ************************************************************/&lt;BR /&gt; esriConfig.portalUrl = "https://portal.environment.gov.za/portal";&lt;BR /&gt; &lt;BR /&gt; var webmap = new WebMap({&lt;BR /&gt; portalItem: {&lt;BR /&gt; // autocasts as new PortalItem()&lt;BR /&gt; id: "04582be14885483da48f29398960f653"&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; });&lt;BR /&gt; &lt;BR /&gt; var graphicsLayer = new GraphicsLayer();&lt;/P&gt;&lt;P&gt;/************************************************************&lt;BR /&gt; * Set the WebMap instance to the map property in a MapView.&lt;BR /&gt; ************************************************************/&lt;BR /&gt; var view = new MapView({&lt;BR /&gt; map: webmap,&lt;BR /&gt; container: "viewDiv"&lt;BR /&gt; });&lt;BR /&gt; &lt;BR /&gt; webmap.layers.add(graphicsLayer);&lt;BR /&gt; &lt;BR /&gt; var sketch = new Sketch({&lt;BR /&gt; layer: graphicsLayer,&lt;BR /&gt; view: view,&lt;BR /&gt; //container: "viewDiv"&lt;BR /&gt; });&lt;BR /&gt; &lt;BR /&gt; view.ui.add(sketch, {&lt;BR /&gt; position: "top-right"&lt;BR /&gt; });&lt;BR /&gt; // Listen to sketch widget's create event.&lt;BR /&gt; sketch.on("create", function(event) {&lt;BR /&gt; // check if the create event's state has changed to complete indicating&lt;BR /&gt; // the graphic create operation is completed.&lt;BR /&gt; console.log(view.zoom);&lt;BR /&gt; if (event.state === "complete") {&lt;BR /&gt; // remove the graphic from the layer. Sketch adds&lt;BR /&gt; // the completed graphic to the layer by default.&lt;BR /&gt; graphicsLayer.remove(event.graphic);&lt;/P&gt;&lt;P&gt;// use the graphic.geometry to query features that intersect it&lt;BR /&gt; selectFeatures(event.graphic.geometry);&lt;BR /&gt; }&lt;BR /&gt; });&lt;BR /&gt; });&lt;BR /&gt; &amp;lt;/script&amp;gt;&lt;BR /&gt; &amp;lt;/head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;body&amp;gt;&lt;BR /&gt; &amp;lt;div id="viewDiv"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt; &amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this is the code I am using trying to add the pointer or a marker on the webmap but it is not working, can you please advice me on what am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt; &amp;lt;head&amp;gt;&lt;BR /&gt; &amp;lt;meta charset="utf-8" /&amp;gt;&lt;BR /&gt; &amp;lt;meta&lt;BR /&gt; name="viewport"&lt;BR /&gt; content="initial-scale=1,maximum-scale=1,user-scalable=no"&lt;BR /&gt; /&amp;gt;&lt;BR /&gt; &amp;lt;title&amp;gt;Load a basic WebMap - 4.14&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;style&amp;gt;&lt;BR /&gt; html,&lt;BR /&gt; body,&lt;BR /&gt; #viewDiv {&lt;BR /&gt; padding: 0;&lt;BR /&gt; margin: 0;&lt;BR /&gt; height: 100%;&lt;BR /&gt; width: 100%;&lt;BR /&gt; }&lt;BR /&gt; &amp;lt;/style&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;link&lt;BR /&gt; rel="stylesheet"&lt;BR /&gt; href="https://js.arcgis.com/4.14/esri/themes/light/main.css"&lt;BR /&gt; /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script src="https://js.arcgis.com/4.14/"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;BR /&gt; require(["esri/views/MapView", &lt;BR /&gt; "esri/WebMap",&lt;BR /&gt; "esri/config", &lt;BR /&gt; "esri/widgets/Sketch",&lt;BR /&gt; "esri/Graphic",&lt;BR /&gt; "esri/layers/GraphicsLayer"&lt;BR /&gt; ], function(MapView, Graphic, WebMap, esriConfig, Sketch, GraphicsLayer) {&lt;BR /&gt; /************************************************************&lt;BR /&gt; * Creates a new WebMap instance. A WebMap must reference&lt;BR /&gt; * a PortalItem ID that represents a WebMap saved to&lt;BR /&gt; * arcgis.com or an on-premise portal.&lt;BR /&gt; *&lt;BR /&gt; * To load a WebMap from an on-premise portal, set the portal&lt;BR /&gt; * url with esriConfig.portalUrl.&lt;BR /&gt; ************************************************************/&lt;BR /&gt; esriConfig.portalUrl = "https://portal.environment.gov.za/portal";&lt;BR /&gt; &lt;BR /&gt; var webmap = new WebMap({&lt;BR /&gt; portalItem: {&lt;BR /&gt; // autocasts as new PortalItem()&lt;BR /&gt; id: "04582be14885483da48f29398960f653"&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; });&lt;BR /&gt; &lt;BR /&gt; /************************************************************&lt;BR /&gt; * Set the WebMap instance to the map property in a MapView.&lt;BR /&gt; ************************************************************/&lt;BR /&gt; var view = new MapView({&lt;BR /&gt; map: webmap,&lt;BR /&gt; container: "viewDiv"&lt;BR /&gt; center:[ 28.159843448357865, -26.374449292814024],&lt;BR /&gt; zoom: 14&lt;BR /&gt; });&lt;BR /&gt; &lt;BR /&gt; var graphicsLayer = new GraphicsLayer(); &lt;BR /&gt; &lt;BR /&gt; webmap.layers.add(graphicsLayer);&lt;BR /&gt; &lt;BR /&gt; // Create a point&lt;BR /&gt; var point = {&lt;BR /&gt; type: "point",&lt;BR /&gt; longitude: 28.159843448357865,&lt;BR /&gt; latitude: -26.374449292814024&lt;BR /&gt; };&lt;BR /&gt; &lt;BR /&gt; var simpleMarkerSymbol = {&lt;BR /&gt; type: "simple-maker",&lt;BR /&gt; color: [226, 119, 40], // orange&lt;BR /&gt; size: 30,&lt;BR /&gt; style: "circle",&lt;BR /&gt; outline: {&lt;BR /&gt; color: [255, 255, 255], // white&lt;BR /&gt; width: 2&lt;BR /&gt; }&lt;BR /&gt; };&lt;BR /&gt; &lt;BR /&gt; var pointGraphic = new Graphic({&lt;BR /&gt; geometry: point,&lt;BR /&gt; symbol: simpleMarkerSymbol&lt;BR /&gt; });&lt;BR /&gt; graphicsLayer.add(pointGraphic);&lt;BR /&gt; &lt;BR /&gt; var sketch = new Sketch({&lt;BR /&gt; layer: graphicsLayer,&lt;BR /&gt; view: view,&lt;BR /&gt; //container: "viewDiv"&lt;BR /&gt; });&lt;BR /&gt; &lt;BR /&gt; view.ui.add(sketch, {&lt;BR /&gt; position: "top-right"&lt;BR /&gt; });&lt;BR /&gt; // Listen to sketch widget's create event.&lt;BR /&gt; sketch.on("create", function(event) {&lt;BR /&gt; // check if the create event's state has changed to complete indicating&lt;BR /&gt; // the graphic create operation is completed.&lt;BR /&gt; console.log(view.zoom);&lt;BR /&gt; if (event.state === "complete") {&lt;BR /&gt; // remove the graphic from the layer. Sketch adds&lt;BR /&gt; // the completed graphic to the layer by default.&lt;BR /&gt; graphicsLayer.remove(event.graphic);&lt;/P&gt;&lt;P&gt;// use the graphic.geometry to query features that intersect it&lt;BR /&gt; selectFeatures(event.graphic.geometry);&lt;BR /&gt; }&lt;BR /&gt; });&lt;BR /&gt; });&lt;BR /&gt; &amp;lt;/script&amp;gt;&lt;BR /&gt; &amp;lt;/head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;body&amp;gt;&lt;BR /&gt; &amp;lt;div id="viewDiv"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt; &amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 19:21:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-a-pointer-or-a-marker-on-a-map-using/m-p/277017#M25552</guid>
      <dc:creator>SiyabongaKubeka</dc:creator>
      <dc:date>2020-04-07T19:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a pointer or a marker on a map using coordinates?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-a-pointer-or-a-marker-on-a-map-using/m-p/277018#M25553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the first code is working, the second one is not&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 19:24:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-a-pointer-or-a-marker-on-a-map-using/m-p/277018#M25553</guid>
      <dc:creator>SiyabongaKubeka</dc:creator>
      <dc:date>2020-04-07T19:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a pointer or a marker on a map using coordinates?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-a-pointer-or-a-marker-on-a-map-using/m-p/277019#M25554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The module require needs to match up with those in the function. So you have&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="token function"&gt;require&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"esri/views/MapView"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;"esri/WebMap"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;"esri/config"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;"esri/widgets/Sketch"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;"esri/Graphic"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;"esri/layers/GraphicsLayer"&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;MapView&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; Graphic&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; WebMap&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; esriConfig&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; Sketch&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; GraphicsLayer&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;try changing it to&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="token function"&gt;require&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"esri/views/MapView"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;"esri/WebMap"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;"esri/Graphic"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;"esri/config"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;"esri/widgets/Sketch"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;"esri/layers/GraphicsLayer"&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;MapView&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; WebMap&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; Graphic&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; esriConfig&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; Sketch&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; GraphicsLayer&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:29:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-a-pointer-or-a-marker-on-a-map-using/m-p/277019#M25554</guid>
      <dc:creator>BenElan</dc:creator>
      <dc:date>2021-12-11T13:29:25Z</dc:date>
    </item>
  </channel>
</rss>

