<?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 BaseDynamicLayer subclass gets weird when the browser window is large in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basedynamiclayer-subclass-gets-weird-when-the/m-p/1163750#M76995</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working on rendering jpg image on a map with version 4, but got stuck by a weird issue..&lt;/P&gt;&lt;P&gt;Here's some sample code I put together.&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/jianingliu/pen/KKZxmML" target="_blank"&gt;https://codepen.io/jianingliu/pen/KKZxmML&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What happens is that when the browser window is small (eg. 1472x515), everything works fine.&lt;/P&gt;&lt;P&gt;But if the window get's bigger (eg. 2560x835), I start to get 2 pictures rendering at random places. They are flying around as I pan or zoom the map.&lt;/P&gt;&lt;P&gt;Initially, I thought I was doing something wrong with the size of the canvas, but as I change the height and width, this problem does not get any better.&lt;/P&gt;&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Johnny&lt;/P&gt;</description>
    <pubDate>Wed, 13 Apr 2022 03:51:46 GMT</pubDate>
    <dc:creator>ljnio</dc:creator>
    <dc:date>2022-04-13T03:51:46Z</dc:date>
    <item>
      <title>BaseDynamicLayer subclass gets weird when the browser window is large</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basedynamiclayer-subclass-gets-weird-when-the/m-p/1163750#M76995</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working on rendering jpg image on a map with version 4, but got stuck by a weird issue..&lt;/P&gt;&lt;P&gt;Here's some sample code I put together.&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/jianingliu/pen/KKZxmML" target="_blank"&gt;https://codepen.io/jianingliu/pen/KKZxmML&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What happens is that when the browser window is small (eg. 1472x515), everything works fine.&lt;/P&gt;&lt;P&gt;But if the window get's bigger (eg. 2560x835), I start to get 2 pictures rendering at random places. They are flying around as I pan or zoom the map.&lt;/P&gt;&lt;P&gt;Initially, I thought I was doing something wrong with the size of the canvas, but as I change the height and width, this problem does not get any better.&lt;/P&gt;&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Johnny&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 03:51:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basedynamiclayer-subclass-gets-weird-when-the/m-p/1163750#M76995</guid>
      <dc:creator>ljnio</dc:creator>
      <dc:date>2022-04-13T03:51:46Z</dc:date>
    </item>
  </channel>
</rss>

