<?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 ArcGIS Maps SDK for JavaScript 5.0 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-5-0/m-p/1685641#M88164</link>
    <description>&lt;P&gt;ArcGIS Maps SDK for JavaScript 5.0 is release. Please update the documents:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest" target="_blank"&gt;https://developers.arcgis.com/javascript/latest&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Feb 2026 20:49:55 GMT</pubDate>
    <dc:creator>ForrestLin</dc:creator>
    <dc:date>2026-02-20T20:49:55Z</dc:date>
    <item>
      <title>ArcGIS Maps SDK for JavaScript 5.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-5-0/m-p/1685641#M88164</link>
      <description>&lt;P&gt;ArcGIS Maps SDK for JavaScript 5.0 is release. Please update the documents:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest" target="_blank"&gt;https://developers.arcgis.com/javascript/latest&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2026 20:49:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-5-0/m-p/1685641#M88164</guid>
      <dc:creator>ForrestLin</dc:creator>
      <dc:date>2026-02-20T20:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Maps SDK for JavaScript 5.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-5-0/m-p/1685936#M88176</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/5931"&gt;@ForrestLin&lt;/a&gt;,&amp;nbsp;thanks for your post, and thanks for paying such close attention to our releases! We are in the final stages of our release process, and we usually don't update our documentation until the official announcement goes out. Please stay tuned for our release announcements (coming this week), both on the ArcGIS Blog site and on this site.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2026 17:07:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-5-0/m-p/1685936#M88176</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2026-02-23T17:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Maps SDK for JavaScript 5.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-5-0/m-p/1686252#M88183</link>
      <description>&lt;P&gt;The documentation and announcements are live today!&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/release-notes/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/release-notes/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/js-api-arcgis/announcements/arcgis-maps-sdk-for-javascript-whats-new-in-5-0" target="_blank"&gt;https://www.esri.com/arcgis-blog/products/js-api-arcgis/announcements/arcgis-maps-sdk-for-javascript-whats-new-in-5-0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-blog/arcgis-maps-sdk-for-javascript-version-5-0-release/ba-p/1686211" target="_blank"&gt;https://community.esri.com/t5/arcgis-javascript-maps-sdk-blog/arcgis-maps-sdk-for-javascript-version-5-0-release/ba-p/1686211&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2026 15:17:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-5-0/m-p/1686252#M88183</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2026-02-24T15:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Maps SDK for JavaScript 5.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-5-0/m-p/1686616#M88192</link>
      <description>&lt;P&gt;Seeing issues with the Typescript definitions for attributes on arcgis-map.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;/** 
 * This gives a type error for Geometry because the signature for Feature | Point can't handle partial values 
 * Note: the value for constraints is taken directly from documentation
 **/ 
const testMap1 = (
	 &amp;lt;arcgis-map constraints={
		{
			geometry: { // Constrain lateral movement to Lower Manhattan 
				type: 'extent', 
				xmin: -74.02, 
				ymin: 40.7, 
				xmax: -73.971, 
				ymax: 40.73, 
			}, 
			minScale: 500000, // User cannot zoom out beyond a scale of 1:500,000 
			maxScale: 0, // User can overzoom tiles 
			rotationEnabled: false, // Disables map rotation
		}
		} /&amp;gt; 
);
/**
 * Defining the constraints object separately gives type safety for the object, but then gives a type error when we try to use it in the map component 
 * In this case, the issue is that MapViewConstraints treats optional fields as required
 **/
const testConstraints: MapViewConstraintsProperties = { 
	geometry: 
	{ // Constrain lateral movement to Lower Manhattan 
	type: 'extent', 
	xmin: -74.02, 
	ymin: 40.7, 
	xmax: -73.971, 
	ymax: 40.73, 
}, 
minScale: 500000, // User cannot zoom out beyond a scale of 1:500,000
maxScale: 0, // User can overzoom tiles
rotationEnabled: false, // Disables map rotation
};
const testMap2 = &amp;lt;arcgis-map constraints={testConstraints} /&amp;gt;;

/**
 * Coercing the type works, but we shouldn't have to do this 
 **/
const testMap3 = &amp;lt;arcgis-map constraints={testConstraints as MapViewConstraints} /&amp;gt;;&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 25 Feb 2026 16:34:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-5-0/m-p/1686616#M88192</guid>
      <dc:creator>timtucker-dte</dc:creator>
      <dc:date>2026-02-25T16:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Maps SDK for JavaScript 5.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-5-0/m-p/1686635#M88193</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/860685"&gt;@timtucker-dte&lt;/a&gt;&amp;nbsp;- thanks for the post. The typings changed here a bit it looks like. Can you check the doc and see if this makes things more clear?&lt;/P&gt;&lt;P&gt;contraints example:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#constraints" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#constraints&lt;/A&gt;&lt;/P&gt;&lt;P&gt;type:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/references/core/views/2d/MapViewConstraints/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/references/core/views/2d/MapViewConstraints/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Feb 2026 17:22:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-5-0/m-p/1686635#M88193</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2026-02-25T17:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Maps SDK for JavaScript 5.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-5-0/m-p/1687127#M88203</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;the examples I gave above all used JSON for the view definition from the docs verbatim.&lt;/P&gt;&lt;P&gt;The only difference vs. the docs example is attempting to pass the constraints via the constraints attribute on an arcgis-map tag directly vs. programmatically changing settings on the view instance.&lt;/P&gt;&lt;P&gt;The broader issue I see across the SDK: in many places you can pass either an instance of class "Foo" or a JSON object that's typed as Partial&amp;lt;Foo&amp;gt;.&amp;nbsp; That leads to type errors on tags like arcgis-map that are expecting Foo as an attribute instead of Partial&amp;lt;Foo&amp;gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Feb 2026 20:57:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-5-0/m-p/1687127#M88203</guid>
      <dc:creator>timtucker-dte</dc:creator>
      <dc:date>2026-02-26T20:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Maps SDK for JavaScript 5.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-5-0/m-p/1687708#M88216</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The following is the recommended pattern when working with map components:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import MapViewConstraints from "@arcgis/core/views/2d/MapViewConstraints.js";
const constraints = new MapViewConstraints({
  geometry: {
    type: "extent",
    xmin: -74.02,
    ymin: 40.7,
    xmax: -73.971,
    ymax: 40.73,
  },
  minScale: 500000,
  maxScale: 0,
  rotationEnabled: false,
});
const arcgisMap = &amp;lt;arcgis-map constraints={constraints} /&amp;gt;;&lt;/LI-CODE&gt;&lt;P&gt;If working in frameworks like React, ensure the `constraints` object is stable between re-renders by using useRef or useEffect. Avoid re-creating the `constraints` object on each re-render as that will cause the map to flicker.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Note: the value for constraints is taken directly from documentation&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The documentation will be updated to show the above pattern. Thank you for reporting the issue!&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2026 17:02:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-maps-sdk-for-javascript-5-0/m-p/1687708#M88216</guid>
      <dc:creator>mpatiiuk</dc:creator>
      <dc:date>2026-03-02T17:02:35Z</dc:date>
    </item>
  </channel>
</rss>

