<?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 Zoom controls and widgets appearing outside of the map using ArcGIS for Javascript (converted to Typescript) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-controls-and-widgets-appearing-outside-of-the/m-p/1290529#M81197</link>
    <description>&lt;P&gt;Hi all, I am encountering an issue with the ArcGIS API for JavaScript where the zoom controls and other widgets are rendering outside the map instead of on it. I have followed official documentation but have been unable to resolve the problem. Here are some details about my implementation:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I am using ArcGIS API for JavaScript, but with TypeScript and React.&lt;/LI&gt;&lt;LI&gt;The map is rendered within a React component.&lt;/LI&gt;&lt;LI&gt;I have followed the documentation and added the zoom controls using the ui.add() method.&lt;/LI&gt;&lt;LI&gt;However, the zoom controls and widgets are not displaying on the map itself but rather appearing outside of it.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I already have the correct integration of the zoom controls, but the issue persists. I've attached an image of the default zoom controls, as well as a Sketch widget I added being outside of the map. Admittedly, there might some incorrect setup on my end but even then, I do need some assistance in identifying where such an issue stems from.&lt;/P&gt;&lt;P&gt;If anyone has encountered a similar issue or has any suggestions for troubleshooting or resolving this problem, I would greatly appreciate your assistance.&lt;/P&gt;&lt;P&gt;Thank you in advance for your help!&lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2023 03:58:27 GMT</pubDate>
    <dc:creator>LO</dc:creator>
    <dc:date>2023-05-18T03:58:27Z</dc:date>
    <item>
      <title>Zoom controls and widgets appearing outside of the map using ArcGIS for Javascript (converted to Typescript)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-controls-and-widgets-appearing-outside-of-the/m-p/1290529#M81197</link>
      <description>&lt;P&gt;Hi all, I am encountering an issue with the ArcGIS API for JavaScript where the zoom controls and other widgets are rendering outside the map instead of on it. I have followed official documentation but have been unable to resolve the problem. Here are some details about my implementation:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I am using ArcGIS API for JavaScript, but with TypeScript and React.&lt;/LI&gt;&lt;LI&gt;The map is rendered within a React component.&lt;/LI&gt;&lt;LI&gt;I have followed the documentation and added the zoom controls using the ui.add() method.&lt;/LI&gt;&lt;LI&gt;However, the zoom controls and widgets are not displaying on the map itself but rather appearing outside of it.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I already have the correct integration of the zoom controls, but the issue persists. I've attached an image of the default zoom controls, as well as a Sketch widget I added being outside of the map. Admittedly, there might some incorrect setup on my end but even then, I do need some assistance in identifying where such an issue stems from.&lt;/P&gt;&lt;P&gt;If anyone has encountered a similar issue or has any suggestions for troubleshooting or resolving this problem, I would greatly appreciate your assistance.&lt;/P&gt;&lt;P&gt;Thank you in advance for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 03:58:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-controls-and-widgets-appearing-outside-of-the/m-p/1290529#M81197</guid>
      <dc:creator>LO</dc:creator>
      <dc:date>2023-05-18T03:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom controls and widgets appearing outside of the map using ArcGIS for Javascript (converted to Typescript)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-controls-and-widgets-appearing-outside-of-the/m-p/1290583#M81199</link>
      <description>&lt;P&gt;If you provide a reproducible sample in codepen, GitHub, or stackblitz, would have a better idea. I'm going to guess the ArcGIS css is not being loaded correctly.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/get-started/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/get-started/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 12:31:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-controls-and-widgets-appearing-outside-of-the/m-p/1290583#M81199</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2023-05-18T12:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom controls and widgets appearing outside of the map using ArcGIS for Javascript (converted to Typescript)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-controls-and-widgets-appearing-outside-of-the/m-p/1290937#M81211</link>
      <description>&lt;P&gt;Hi, thanks for the suggestion! It was indeed something to do with the ArcGIS css; I didn't put the HTML code that calls on the css, as I was using React and missed out on that. So with that addition, this issue is fixed! Thanks again for the help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 03:12:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-controls-and-widgets-appearing-outside-of-the/m-p/1290937#M81211</guid>
      <dc:creator>LO</dc:creator>
      <dc:date>2023-05-19T03:12:30Z</dc:date>
    </item>
  </channel>
</rss>

