<?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: Trying to recreate John Nelson's fantasy style in JS in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-recreate-john-nelson-s-fantasy-style-in/m-p/1229775#M79271</link>
    <description>&lt;P&gt;I created a fantasy world in ArcGIS Pro. I applied John Nelson's&amp;nbsp;&lt;A href="https://esri-styles.maps.arcgis.com/home/item.html?id=0ca1526cfa254f4e9d4b1392b343861d" target="_self"&gt;My Precious&lt;/A&gt;&amp;nbsp;style to my project and I love the outcome. However, I want a dynamic map to share on my website. I struggled with the styling a lot and had to stray from the original John Nelson style for technical reasons. CIM in the JS API 4.x is just not quite there yet.&amp;nbsp;Here are some sample pictures.&amp;nbsp;&lt;BR /&gt;John Nelson's style in ArcGIS Pro:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeoJason_0-1667957238573.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55536i77780206574D2DAE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GeoJason_0-1667957238573.png" alt="GeoJason_0-1667957238573.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note the beautiful coastal lines that look hand drawn...&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeoJason_1-1667957427258.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55538iEBA7A6C9D611578D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GeoJason_1-1667957427258.png" alt="GeoJason_1-1667957427258.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;CIMGeometricEffect buffer or offset creates really jagged line effects. I was able to use that offset jagged effect to create the color gradient off the coastlines.&amp;nbsp;&lt;BR /&gt;This is a quick screenshot of zooming into a coastline before the map re-renders. These lines&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeoJason_2-1667957640940.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55542iA0995A140A3BD5B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GeoJason_2-1667957640940.png" alt="GeoJason_2-1667957640940.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here it is after it renders&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeoJason_3-1667957732774.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55543iCA067C793329F367/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GeoJason_3-1667957732774.png" alt="GeoJason_3-1667957732774.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I clean up my code, I will share the CIM here in case others want to apply it to a JS map.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Nov 2022 01:39:11 GMT</pubDate>
    <dc:creator>GeoJason</dc:creator>
    <dc:date>2022-11-09T01:39:11Z</dc:date>
    <item>
      <title>Trying to recreate John Nelson's fantasy style in JS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-recreate-john-nelson-s-fantasy-style-in/m-p/1225360#M79121</link>
      <description>&lt;P&gt;I'm trying to recreate multiple images within a polygon using CIM on a geoJSON layer. It seems the JS API only takes the first base64 image and won't read anything past that. I am adding multiple CIMPicture fills underneath the CIMSymbolReference. I would like to avoid using multiple layers to do this. Has anyone had any luck with CIMPictureFill and applying multiple picture fills on one layer?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is for a personal "fun" project and not production.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 19:40:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-recreate-john-nelson-s-fantasy-style-in/m-p/1225360#M79121</guid>
      <dc:creator>GeoJason</dc:creator>
      <dc:date>2022-10-25T19:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to recreate John Nelson's fantasy style in JS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-recreate-john-nelson-s-fantasy-style-in/m-p/1225391#M79122</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/540477"&gt;@GeoJason&lt;/a&gt;&amp;nbsp;- here's an example of a polygon CIMSymbol with multiple CIMPictureFill symbol layers:&amp;nbsp;&lt;A href="https://codepen.io/annefitz/pen/YzvzOWm?editors=1000" target="_blank"&gt;https://codepen.io/annefitz/pen/YzvzOWm?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope that helps – let me know if you have any further questions!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 20:00:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-recreate-john-nelson-s-fantasy-style-in/m-p/1225391#M79122</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2022-10-25T20:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to recreate John Nelson's fantasy style in JS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-recreate-john-nelson-s-fantasy-style-in/m-p/1229775#M79271</link>
      <description>&lt;P&gt;I created a fantasy world in ArcGIS Pro. I applied John Nelson's&amp;nbsp;&lt;A href="https://esri-styles.maps.arcgis.com/home/item.html?id=0ca1526cfa254f4e9d4b1392b343861d" target="_self"&gt;My Precious&lt;/A&gt;&amp;nbsp;style to my project and I love the outcome. However, I want a dynamic map to share on my website. I struggled with the styling a lot and had to stray from the original John Nelson style for technical reasons. CIM in the JS API 4.x is just not quite there yet.&amp;nbsp;Here are some sample pictures.&amp;nbsp;&lt;BR /&gt;John Nelson's style in ArcGIS Pro:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeoJason_0-1667957238573.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55536i77780206574D2DAE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GeoJason_0-1667957238573.png" alt="GeoJason_0-1667957238573.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note the beautiful coastal lines that look hand drawn...&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeoJason_1-1667957427258.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55538iEBA7A6C9D611578D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GeoJason_1-1667957427258.png" alt="GeoJason_1-1667957427258.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;CIMGeometricEffect buffer or offset creates really jagged line effects. I was able to use that offset jagged effect to create the color gradient off the coastlines.&amp;nbsp;&lt;BR /&gt;This is a quick screenshot of zooming into a coastline before the map re-renders. These lines&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeoJason_2-1667957640940.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55542iA0995A140A3BD5B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GeoJason_2-1667957640940.png" alt="GeoJason_2-1667957640940.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here it is after it renders&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeoJason_3-1667957732774.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55543iCA067C793329F367/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GeoJason_3-1667957732774.png" alt="GeoJason_3-1667957732774.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I clean up my code, I will share the CIM here in case others want to apply it to a JS map.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 01:39:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-recreate-john-nelson-s-fantasy-style-in/m-p/1229775#M79271</guid>
      <dc:creator>GeoJason</dc:creator>
      <dc:date>2022-11-09T01:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to recreate John Nelson's fantasy style in JS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-recreate-john-nelson-s-fantasy-style-in/m-p/1275596#M80755</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/540477"&gt;@GeoJason&lt;/a&gt;&amp;nbsp;- I would love to hear if you've noticed any improvements in your app after updating to version 4.26 of the JavaScript SDK. We made some significant improvements to geometric effects (specifically buffer and offset) this past release. Let me know - thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 22:55:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-recreate-john-nelson-s-fantasy-style-in/m-p/1275596#M80755</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2023-04-04T22:55:43Z</dc:date>
    </item>
  </channel>
</rss>

