<?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: MultipleDefine error while executing Heat Map tool from ArcGIS javascript API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multipledefine-error-while-executing-heat-map-tool/m-p/216011#M20042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Sorry, here is the test case:&amp;nbsp;&lt;A class="jivelink11" href="https://jsfiddle.net/z05d8w63/4/" title="https://jsfiddle.net/z05d8w63/4/"&gt;https://jsfiddle.net/z05d8w63/6/&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error always occurs after&amp;nbsp;filtering any layer. Click on the&amp;nbsp; icon of the card and write 03003 in the textbox, and then click on the icon of the flame and the error appears.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Sep 2018 09:06:17 GMT</pubDate>
    <dc:creator>DavidGago</dc:creator>
    <dc:date>2018-09-19T09:06:17Z</dc:date>
    <item>
      <title>MultipleDefine error while executing Heat Map tool from ArcGIS javascript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multipledefine-error-while-executing-heat-map-tool/m-p/216007#M20038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have an app made in js that works with arcgis and it looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;require([&lt;/P&gt;&lt;P&gt;"dojo/_base/array",&lt;BR /&gt; "esri/geometry/Circle",&lt;BR /&gt; "esri/Color",&lt;BR /&gt; "esri/symbols/SimpleFillSymbol",&lt;BR /&gt; "esri/symbols/SimpleLineSymbol",&lt;BR /&gt; "esri/symbols/PictureMarkerSymbol",&lt;BR /&gt; "esri/symbols/SimpleMarkerSymbol",&lt;BR /&gt; "esri/renderers/SimpleRenderer",&lt;BR /&gt; "esri/renderers/UniqueValueRenderer",&lt;BR /&gt; "esri/tasks/StatisticDefinition",&lt;BR /&gt; "esri/geometry/geometryEngine",&lt;/P&gt;&lt;P&gt;"esri/graphic",&lt;BR /&gt; "dijit/registry",&lt;BR /&gt; "esri/tasks/query",&lt;BR /&gt; "esri/tasks/QueryTask",&lt;BR /&gt; "esri/tasks/RelationshipQuery",&lt;BR /&gt; "esri/SpatialReference",&lt;/P&gt;&lt;P&gt;"esri/map",&lt;BR /&gt; "esri/lang",&lt;BR /&gt; "esri/dijit/InfoWindow",&lt;BR /&gt; "esri/InfoTemplate",&lt;BR /&gt; "dijit/layout/ContentPane",&lt;BR /&gt; "dijit/layout/TabContainer",&lt;BR /&gt; "esri/layers/GraphicsLayer",&lt;BR /&gt; "esri/layers/FeatureLayer",&lt;BR /&gt; "esri/geometry/Point",&lt;BR /&gt; "esri/tasks/FeatureSet",&lt;/P&gt;&lt;P&gt;"esri/dijit/BasemapToggle",&lt;BR /&gt; "esri/dijit/HomeButton",&lt;BR /&gt; "esri/dijit/LayerList",&lt;BR /&gt; "esri/dijit/Search",&lt;/P&gt;&lt;P&gt;"dojo/_base/connect",&lt;BR /&gt; "dojo/dom-style",&lt;BR /&gt; "dojo/dom",&lt;BR /&gt; "dojo/on",&lt;BR /&gt; "dojo/dom-construct",&lt;BR /&gt; "dojo/dom-class",&lt;BR /&gt; "dojo/number",&lt;BR /&gt; "esri/renderers/HeatmapRenderer",&lt;BR /&gt; "dojo/domReady!"&lt;/P&gt;&lt;P&gt;],&lt;BR /&gt; function(&lt;BR /&gt; array, Circle, Color, SimpleFillSymbol, SimpleLineSymbol, PictureMarkerSymbol, SimpleMarkerSymbol, SimpleRenderer,&lt;BR /&gt; UniqueValueRenderer, StatisticDefinition, geometryEngine, Graphic, registry, Query, QueryTask, RelationshipQuery, SpatialReference,&lt;BR /&gt; Map, esriLang, InfoWindow, InfoTemplate, ContentPane, TabContainer, GraphicsLayer, FeatureLayer, Point, FeatureSet,&lt;BR /&gt; BasemapToggle, HomeButton, LayerList, Search, connect, domStyle, dom, on, domConstruct, domClass, number, HeatmapRenderer&lt;BR /&gt; ) {&lt;/P&gt;&lt;P&gt;map = new Map("map", {&lt;BR /&gt; basemap: "gray",&lt;BR /&gt; center: [-0.4814900, 38.3451700],&lt;BR /&gt; zoom: 11&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; var flay0H = new FeatureLayer(urlFlay0H, {&lt;BR /&gt; id: "Listing_properties_HM",&lt;BR /&gt; mode: FeatureLayer.MODE_SNAPSHOT,&lt;BR /&gt; visible: false,&lt;BR /&gt; outFields: ["*"]&lt;BR /&gt; });&lt;BR /&gt; map.addLayer(flay0H);&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var HeatM = new HeatmapRenderer({&lt;BR /&gt; blurRadius: 4,&lt;BR /&gt; maxPixelIntensity: 900,&lt;BR /&gt; minPixelIntensity: 9,&lt;BR /&gt; field: "Precio"&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;var heat_btn = document.getElementById("heat_btn");&lt;BR /&gt; heat_btn. = click5;&lt;/P&gt;&lt;P&gt;function click5() {&lt;BR /&gt; if (flay0H.visible == false) {&lt;BR /&gt; flay0H.setRenderer(HeatM);&lt;BR /&gt; // flay0H.refresh();&lt;BR /&gt; flay0H.setVisibility(true);&lt;BR /&gt; } else {&lt;BR /&gt; flay0H.setVisibility(false);&lt;BR /&gt; }&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i&amp;nbsp;run the tool sometimes an error occurs and i get this message in the console:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="266" src="https://community.esri.com/legacyfs/online/421021_pastedImage_1.png" width="598" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This layer only participate in this process so i dont&amp;nbsp;understand what can fail here. Any ideas?Ty.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2018 09:21:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multipledefine-error-while-executing-heat-map-tool/m-p/216007#M20038</guid>
      <dc:creator>DavidGago</dc:creator>
      <dc:date>2018-09-04T09:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: MultipleDefine error while executing Heat Map tool from ArcGIS javascript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multipledefine-error-while-executing-heat-map-tool/m-p/216008#M20039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like you are using a js library called jszip? If so try loading it before you load the jsapi.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;nbsp; &lt;SPAN class="language-javascript script token"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;script&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;src&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fcdnjs.cloudflare.com%2Fajax%2Flibs%2Fjszip%2F3.1.5%2Fjszip.min.js" target="_blank"&gt;https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.5/jszip.min.js&lt;/A&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;script&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="language-javascript script token"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;script&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;src&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F4.8" target="_blank"&gt;https://js.arcgis.com/4.8&lt;/A&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;script&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:34:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multipledefine-error-while-executing-heat-map-tool/m-p/216008#M20039</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2021-12-11T10:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: MultipleDefine error while executing Heat Map tool from ArcGIS javascript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multipledefine-error-while-executing-heat-map-tool/m-p/216009#M20040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;im not using that js library, my html looks like:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/421329_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 08:42:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multipledefine-error-while-executing-heat-map-tool/m-p/216009#M20040</guid>
      <dc:creator>DavidGago</dc:creator>
      <dc:date>2018-09-06T08:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: MultipleDefine error while executing Heat Map tool from ArcGIS javascript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multipledefine-error-while-executing-heat-map-tool/m-p/216010#M20041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you put together a reproducible test case? If so can you post it here or email?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 16:09:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multipledefine-error-while-executing-heat-map-tool/m-p/216010#M20041</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2018-09-06T16:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: MultipleDefine error while executing Heat Map tool from ArcGIS javascript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multipledefine-error-while-executing-heat-map-tool/m-p/216011#M20042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Sorry, here is the test case:&amp;nbsp;&lt;A class="jivelink11" href="https://jsfiddle.net/z05d8w63/4/" title="https://jsfiddle.net/z05d8w63/4/"&gt;https://jsfiddle.net/z05d8w63/6/&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error always occurs after&amp;nbsp;filtering any layer. Click on the&amp;nbsp; icon of the card and write 03003 in the textbox, and then click on the icon of the flame and the error appears.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 09:06:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multipledefine-error-while-executing-heat-map-tool/m-p/216011#M20042</guid>
      <dc:creator>DavidGago</dc:creator>
      <dc:date>2018-09-19T09:06:17Z</dc:date>
    </item>
  </channel>
</rss>

