<?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 Use ColorPicker in ArcGIS JavaScript API 4.12? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-colorpicker-in-arcgis-javascript-api-4-12/m-p/179820#M16640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply, but I still get blank page&amp;nbsp;after I include the Spectrum CDN.&lt;/P&gt;&lt;P&gt;&amp;lt;script src="https://cdnjs.cloudflare.com/ajax/libs/spectrum/1.8.0/spectrum.min.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt; &amp;lt;link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/spectrum/1.8.0/spectrum.min.css"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any further requirement to implement Spectrum ColorPicker to ArcGIS API map?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Aug 2019 01:57:46 GMT</pubDate>
    <dc:creator>JerryChen</dc:creator>
    <dc:date>2019-08-29T01:57:46Z</dc:date>
    <item>
      <title>Using ColorPicker in ArcGIS JavaScript API 4.12</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-colorpicker-in-arcgis-javascript-api-4-12/m-p/179817#M16637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can only find ColorPicker in ArcGIS JavaScript API 3.X, but I'm working on a project using 4.12.&lt;/P&gt;&lt;P&gt;I'm trying to implement ColorPicker to my map to&amp;nbsp;allow users to choose&amp;nbsp;colors for Sketch objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've included both 4.12 and 3.29 APIs in my code as well as required&amp;nbsp;"esri/dijit/ColorPicker", then the website just turned into a blank white page. Obviously it doesn't work this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, is there any other way to implement ColorPicker in a API v4.12 project?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 06:50:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-colorpicker-in-arcgis-javascript-api-4-12/m-p/179817#M16637</guid>
      <dc:creator>JerryChen</dc:creator>
      <dc:date>2019-08-28T06:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to Use ColorPicker in ArcGIS JavaScript API 4.12?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-colorpicker-in-arcgis-javascript-api-4-12/m-p/179818#M16638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to the&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/guide/functionality-matrix/" title="https://developers.arcgis.com/javascript/latest/guide/functionality-matrix/"&gt;Functionality matrix&lt;/A&gt;, ColorPicker is 'Coming soon' in 4x. Until then, there is not an Esri supported workflow to replicate this functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That being said, you could use something like &lt;A class="link-titled" href="https://bgrins.github.io/spectrum/" title="https://bgrins.github.io/spectrum/"&gt;Spectrum&lt;/A&gt;&amp;nbsp;to select a color and create symbology for the &lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html"&gt;SketchViewModel&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 20:17:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-colorpicker-in-arcgis-javascript-api-4-12/m-p/179818#M16638</guid>
      <dc:creator>BenElan</dc:creator>
      <dc:date>2019-08-28T20:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to Use ColorPicker in ArcGIS JavaScript API 4.12?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-colorpicker-in-arcgis-javascript-api-4-12/m-p/179819#M16639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 4.x JS API will not add a ColorPicker widget. Instead, it will be implemented as a Calcite component, which will be used in Esri apps. This is currently being worked on. You can see the issue&amp;nbsp;for tracking this work&amp;nbsp;here:&amp;nbsp;&lt;A href="https://github.com/Esri/calcite-components/issues/64"&gt;https://github.com/Esri/calcite-components/issues/64&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'll update the Functionality Matrix accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 20:58:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-colorpicker-in-arcgis-javascript-api-4-12/m-p/179819#M16639</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2019-08-28T20:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to Use ColorPicker in ArcGIS JavaScript API 4.12?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-colorpicker-in-arcgis-javascript-api-4-12/m-p/179820#M16640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply, but I still get blank page&amp;nbsp;after I include the Spectrum CDN.&lt;/P&gt;&lt;P&gt;&amp;lt;script src="https://cdnjs.cloudflare.com/ajax/libs/spectrum/1.8.0/spectrum.min.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt; &amp;lt;link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/spectrum/1.8.0/spectrum.min.css"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any further requirement to implement Spectrum ColorPicker to ArcGIS API map?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 01:57:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-colorpicker-in-arcgis-javascript-api-4-12/m-p/179820#M16640</guid>
      <dc:creator>JerryChen</dc:creator>
      <dc:date>2019-08-29T01:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to Use ColorPicker in ArcGIS JavaScript API 4.12?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-colorpicker-in-arcgis-javascript-api-4-12/m-p/179821#M16641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The map shows after I put Spectrum CDN above the ESRI API script. But the ColorPicker is still a default text input box, and it's placed outside the map.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/458220_擷取3_LI.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm so stuck on this. I've tried only the ColorPicker code on CodePen and it works perfectly, but not when I tried to place&amp;nbsp;it on my map. What should I do to get the ColorPicker to work with the ArcGIS API?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 02:24:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-colorpicker-in-arcgis-javascript-api-4-12/m-p/179821#M16641</guid>
      <dc:creator>JerryChen</dc:creator>
      <dc:date>2019-08-29T02:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using ColorPicker in ArcGIS JavaScript API 4.12</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-colorpicker-in-arcgis-javascript-api-4-12/m-p/179822#M16642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I said, this isn't an Esri supported functionality so you will have to write some custom code to get it to work. You will need to change some css&amp;nbsp;to get it over the map. You will also need to get the color selected in JavaScript and use that color to create your SketchViewModel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kristian&amp;nbsp;stated that the ArcGIS JavaScript API 4.x will implement a Calcite component for color picking, so alternatively, you can wait for that to be released.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 15:33:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-colorpicker-in-arcgis-javascript-api-4-12/m-p/179822#M16642</guid>
      <dc:creator>BenElan</dc:creator>
      <dc:date>2019-08-29T15:33:54Z</dc:date>
    </item>
  </channel>
</rss>

