<?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 Web AppBuilder Url Extent Parameters in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-url-extent-parameters/m-p/169838#M4743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the &lt;A href="https://developers.arcgis.com/web-appbuilder/guide/app-url-parameters.htm#ESRI_SECTION1_7D207DF919C049D68B7F9E1423962B4E"&gt;Esri documentation&lt;/A&gt; I know that I can pass a URL parameter to go to a predefined extent using a projected coordinate system.&amp;nbsp; The parameters require a xmin, &lt;SPAN style="line-height: 1.5;"&gt;ymin, &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5;"&gt;xmax, ymax and a WKID.&amp;nbsp; I'm building a web app builder widget that allows the user to open a new web app at the same extent that they are currently viewing - however, I need to be able to handle multiple projection system (NZTM, NZMG and Web Mercator). What I want to know is if the Web App Builder takes care of reprojecting the extent?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if I capture the current extent of the map in NZTM, open a new tab and pass in a NZTM URL Extent to a NZMG based webmap will the app reproject and go to the correct location in my new app instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2015 05:11:04 GMT</pubDate>
    <dc:creator>SamDrummond2</dc:creator>
    <dc:date>2015-04-30T05:11:04Z</dc:date>
    <item>
      <title>Web AppBuilder Url Extent Parameters</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-url-extent-parameters/m-p/169838#M4743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the &lt;A href="https://developers.arcgis.com/web-appbuilder/guide/app-url-parameters.htm#ESRI_SECTION1_7D207DF919C049D68B7F9E1423962B4E"&gt;Esri documentation&lt;/A&gt; I know that I can pass a URL parameter to go to a predefined extent using a projected coordinate system.&amp;nbsp; The parameters require a xmin, &lt;SPAN style="line-height: 1.5;"&gt;ymin, &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5;"&gt;xmax, ymax and a WKID.&amp;nbsp; I'm building a web app builder widget that allows the user to open a new web app at the same extent that they are currently viewing - however, I need to be able to handle multiple projection system (NZTM, NZMG and Web Mercator). What I want to know is if the Web App Builder takes care of reprojecting the extent?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if I capture the current extent of the map in NZTM, open a new tab and pass in a NZTM URL Extent to a NZMG based webmap will the app reproject and go to the correct location in my new app instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 05:11:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-url-extent-parameters/m-p/169838#M4743</guid>
      <dc:creator>SamDrummond2</dc:creator>
      <dc:date>2015-04-30T05:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder Url Extent Parameters</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-url-extent-parameters/m-p/169839#M4744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I do not see anywhere in the code where re-projection of the urls extent parameter is handled, so my response would be no that is not supported.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 17:54:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-url-extent-parameters/m-p/169839#M4744</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-04-30T17:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder Url Extent Parameters</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-url-extent-parameters/m-p/169840#M4745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Since version 10.1 the ArcGIS Server REST API has a &lt;A href="http://resources.arcgis.com/en/help/rest/apiref/project.html"&gt;"project" operation &lt;/A&gt;​that can transform the coordinates.&amp;nbsp; So you could call the "project" operation to transform the bounding box coordinates before you build the URL for the other Web AppBuilder app.&amp;nbsp; The "project" operation is powered by the ArcGIS Server geometry service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bernie.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 18:56:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-url-extent-parameters/m-p/169840#M4745</guid>
      <dc:creator>berniejconnors</dc:creator>
      <dc:date>2015-04-30T18:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder Url Extent Parameters</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-url-extent-parameters/m-p/169841#M4746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert, I scoured through the code last night and agree - I don't see anywhere where the extent is reprojected. So it strikes me as odd that you need to specify a WKID, if the app is simply going to ignore it and use the extent parameters in whatever projection the web map is in. Oh well. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 22:50:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-url-extent-parameters/m-p/169841#M4746</guid>
      <dc:creator>SamDrummond2</dc:creator>
      <dc:date>2015-04-30T22:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder Url Extent Parameters</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-url-extent-parameters/m-p/169842#M4747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Bernie. To be honest, this was how I was going to tackle the problem intially. The issue is that there is not an easy way to get a handle on the unopened web maps spatial reference - so I can perform a projection using a geometry service for sure - but I don't know what I'm projecting it into. Would seem more sensible for the web app builder to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Get the parameters from the URL&lt;/P&gt;&lt;P&gt;2. If there is a webmap ID - load the webmap and &lt;/P&gt;&lt;P&gt;3. Get a web maps spatial reference&lt;/P&gt;&lt;P&gt;4. check if the WKID of the webmap and the extent args match&lt;/P&gt;&lt;P&gt;5. If they don't do a reproject&lt;/P&gt;&lt;P&gt;6. Move the map to the reprojected extent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 22:54:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-url-extent-parameters/m-p/169842#M4747</guid>
      <dc:creator>SamDrummond2</dc:creator>
      <dc:date>2015-04-30T22:54:03Z</dc:date>
    </item>
  </channel>
</rss>

