<?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: Access to map object and function in web map application in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-to-map-object-and-function-in-web-map/m-p/272297#M25093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;You are very kind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 May 2020 13:29:06 GMT</pubDate>
    <dc:creator>VincenzoLisi</dc:creator>
    <dc:date>2020-05-27T13:29:06Z</dc:date>
    <item>
      <title>Access to map object and function in web map application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-to-map-object-and-function-in-web-map/m-p/272293#M25089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an iframe with a downloaded web map application. How can I access to map object and map functions from another iframe? &lt;BR /&gt;And if I need to add some custom functions, where is the best place to write them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Martina&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 May 2020 08:10:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-to-map-object-and-function-in-web-map/m-p/272293#M25089</guid>
      <dc:creator>VincenzoLisi</dc:creator>
      <dc:date>2020-05-24T08:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Access to map object and function in web map application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-to-map-object-and-function-in-web-map/m-p/272294#M25090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Martina,&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;Normally you have a global var that references the opener. Something like this:&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; font-size: 14px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;document&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;.&lt;/SPAN&gt;winobj &lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit; font-size: 14px;"&gt;=&lt;/SPAN&gt; window&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #d74444; border: 0px; font-weight: inherit; font-size: 14px;"&gt;open&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #669900; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"someurl"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="color: #669900; border: 0px; font-weight: inherit; font-size: 14px;"&gt;"_blank"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;,&lt;/SPAN&gt; features&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Then that html file has public functions or methods that you call using&amp;nbsp;document.winobj&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Then in the html file I opened, it can get access back to the widget using something like this:&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; font-size: 14px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;window&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;.&lt;/SPAN&gt;opener&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;.&lt;/SPAN&gt;document&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;.&lt;/SPAN&gt;myWidget&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #d74444; border: 0px; font-weight: inherit; font-size: 14px;"&gt;setLatLonHandler&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;(&lt;/SPAN&gt;pt&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #d74444; border: 0px; font-weight: inherit; font-size: 14px;"&gt;lat&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;,&lt;/SPAN&gt; pt&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #d74444; border: 0px; font-weight: inherit; font-size: 14px;"&gt;lng&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;The document.myWidget was set inside the widgets postCreate method:&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; font-size: 14px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;document&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;.&lt;/SPAN&gt;myWidget &lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit; font-size: 14px;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #0077aa; border: 0px; font-weight: inherit; font-size: 14px;"&gt;this&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 22:34:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-to-map-object-and-function-in-web-map/m-p/272294#M25090</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-05-26T22:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Access to map object and function in web map application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-to-map-object-and-function-in-web-map/m-p/272295#M25091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 0cm; line-height: 100%;"&gt;&lt;SPAN style="font-family: Verdana, sans-serif;"&gt;Hi Robert&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 100%;"&gt;&lt;SPAN style="font-family: Verdana, sans-serif;"&gt;thanks for your answer!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 100%;"&gt;&lt;SPAN style="font-family: Verdana, sans-serif;"&gt;I’m new in WAB developing and there are some not clear questions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 100%;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 100%;"&gt;&lt;SPAN style="font-family: Verdana, sans-serif;"&gt;Do you mean that I have to write my custom function in a Widget?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 100%;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 100%;"&gt;&lt;SPAN style="font-family: Verdana, sans-serif;"&gt;For example, if I want call a function like “ZoomToPoint” (see below) from a button inside IframeA, which makes a map zoom in the webapplication in IframeB, &lt;SPAN style="background: transparent;"&gt;have &lt;/SPAN&gt;&lt;SPAN style="background: transparent;"&gt;I necessarily &lt;/SPAN&gt;&lt;SPAN style="background: transparent;"&gt;to create a widget in the web app with public ZoomToPoint function? &lt;/SPAN&gt;&lt;SPAN style="background: transparent;"&gt;I&lt;/SPAN&gt;&lt;SPAN style="background: transparent;"&gt;s &lt;/SPAN&gt;&lt;SPAN style="background: transparent;"&gt;it &lt;/SPAN&gt;not possible to write this function in a custom js file which accesses the map?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 100%;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; font-weight: normal; line-height: 100%;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;&lt;SPAN style="color: #795e26;"&gt;require&lt;/SPAN&gt;([&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; "&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #a31515; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;"esri/symbols/SimpleMarkerSymbol"&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;"esri/symbols/SimpleLineSymbol"&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; "&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #a31515; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;"esri/symbols/PictureFillSymbol"&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; "&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #a31515; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;"esri/graphic"&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; "&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #a31515; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;"esri/Color"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; font-weight: normal; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;],&amp;nbsp;&lt;SPAN style="color: #0000ff;"&gt;function&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; "&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;SimpleMarkerSymbol&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;SimpleLineSymbol&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; "&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;PictureFillSymbol&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; "&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;Graphic&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; "&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;Color&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; font-weight: normal; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;)&amp;nbsp;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 0.5cm;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; "&gt;&amp;nbsp;&lt;SPAN style="color: #0000ff; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;function&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #795e26; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;zoomToPoint&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;pt&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;testo&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;){&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; "&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;map&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;graphics&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #795e26; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;clear&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;();&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; "&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #0000ff; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;sms&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;SimpleMarkerSymbol&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;SimpleMarkerSymbol&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #328267; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;STYLE_SQUARE&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #098658; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;6&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;SimpleLine Symbol&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;SimpleLineSymbol&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #328267; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;STYLE_SOLID&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;Color&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;([&lt;/SPAN&gt;&lt;SPAN style="color: #098658; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;255&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #098658; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #098658; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;]),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #098658; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;Color&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;([&lt;/SPAN&gt;&lt;SPAN style="color: #098658; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;255&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #098658; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #098658; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #098658; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;0.25&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;]));&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; "&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #008000; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;//goToScala(scala_punto);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; "&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;map&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #795e26; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;centerAt&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;pt&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #098658; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;0.1&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;);&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; "&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #0000ff; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;graphic&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #267f99; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;esri&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #267f99; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;Graphic&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;pt&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;sms&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; "&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;map&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;graphics&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #795e26; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;add&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #001080; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;graphic&lt;/SPAN&gt;&lt;SPAN style="font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; "&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #008000; font-weight: normal; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;//addLabel(pt,&amp;nbsp;testo,0,5)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; font-weight: normal; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; font-weight: normal; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;&lt;SPAN style="color: #001080;"&gt;window&lt;/SPAN&gt;.&lt;SPAN style="color: #001080;"&gt;zoomToPoint&lt;/SPAN&gt;=&lt;SPAN style="color: #795e26;"&gt;zoomToPoint&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; font-weight: normal; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;});&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; font-weight: normal; line-height: 0.5cm;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; font-weight: normal; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;Thanks for your help&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; font-weight: normal; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;I appreciate very much&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; font-weight: normal; line-height: 0.5cm;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0cm; font-weight: normal; line-height: 0.5cm;"&gt;&lt;SPAN style="color: #000000; background: #ffffff; font-size: small; font-family: Consolas, Courier New, monospace; "&gt;Martina&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2020 10:27:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-to-map-object-and-function-in-web-map/m-p/272295#M25091</guid>
      <dc:creator>VincenzoLisi</dc:creator>
      <dc:date>2020-05-27T10:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Access to map object and function in web map application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-to-map-object-and-function-in-web-map/m-p/272296#M25092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Martina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;No you may not need a custom widget. I was providing a method that I personally use as an example for you to understand and adjust to your workflow and use case. The big thing to takeaway is the use of global vars and functions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2020 12:09:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-to-map-object-and-function-in-web-map/m-p/272296#M25092</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-05-27T12:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Access to map object and function in web map application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-to-map-object-and-function-in-web-map/m-p/272297#M25093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;You are very kind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2020 13:29:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-to-map-object-and-function-in-web-map/m-p/272297#M25093</guid>
      <dc:creator>VincenzoLisi</dc:creator>
      <dc:date>2020-05-27T13:29:06Z</dc:date>
    </item>
  </channel>
</rss>

