<?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: How to Center a Web Map App built from template and hosted in AGOL in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/how-to-center-a-web-map-app-built-from-template/m-p/159450#M7813</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Tim,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your suggestion is good except that on my end I'm sharing the web app via an AGOL template web map app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://bcgis.maps.arcgis.com/home/webmap/viewer.html?webmap=___&amp;amp;center=-80.153503,26.070546&amp;amp;level=14"&gt;http://bcgis.maps.arcgis.com/home/webmap/viewer.html?webmap=___&amp;amp;center=-80.153503,26.070546&amp;amp;level=14&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Above would work, but what I want is to pass a parameter via the app, like below. But the url parameters below won't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://bcgis.maps.arcgis.com/apps/OnePane/basicviewer/index.html?appid=___"&gt;http://bcgis.maps.arcgis.com/apps/OnePane/basicviewer/index.html?appid=___&lt;/A&gt;&lt;SPAN style="color:#FF0000;"&gt;&lt;STRONG&gt;&amp;amp;center=-80.153503,26.070546&amp;amp;level=14&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;There's something else I wonder if I can use. If I make the app configurable. But, I can't figure out how to write a configuration parameters to do what I want.&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;Any ideas??&lt;BR /&gt;&lt;/STRONG&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgisonline/index.html#/Adding_configurable_parameters_to_templates/010q000000ns000000/"&gt;&lt;STRONG&gt;http://resources.arcgis.com/en/help/arcgisonline/index.html#/Adding_configurable_parameters_to_templates/010q000000ns000000/&lt;/STRONG&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 May 2013 15:57:07 GMT</pubDate>
    <dc:creator>DianaUmpierre</dc:creator>
    <dc:date>2013-05-21T15:57:07Z</dc:date>
    <item>
      <title>How to Center a Web Map App built from template and hosted in AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-center-a-web-map-app-built-from-template/m-p/159448#M7811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have web map and created a web map app using the one pane template. I'm hosting it externally via AGOL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One of the users wants to call this web map app from other website. The issue is that they want to pass an xy coordinate so that the web map app in AGOL automatically centers the map using the xy coord they specify. I have no clue how to do that within the web map app since I'm just using the one pane template.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 22:51:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-center-a-web-map-app-built-from-template/m-p/159448#M7811</guid>
      <dc:creator>DianaUmpierre</dc:creator>
      <dc:date>2013-05-20T22:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to Center a Web Map App built from template and hosted in AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-center-a-web-map-app-built-from-template/m-p/159449#M7812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Diana,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To adjust the extent in your application, you need to adjust the extent in your AGOL. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can do that by moving the map to the place you would like it to be or you can manipulate the URL and then save the map again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At the end of your URL it should look something like this:&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;&amp;amp;extent=&lt;STRONG&gt;-81.1979,28.0878,-80.0484,28.5791&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; where the bold part is your extent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If your map doesnt have this, you can add it at the end of your URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also check out this blog! &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2011/11/11/adding-url-location-parameters-for-sharing-arcgis-online-webmaps/"&gt;http://blogs.esri.com/esri/arcgis/2011/11/11/adding-url-location-parameters-for-sharing-arcgis-online-webmaps/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 12:14:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-center-a-web-map-app-built-from-template/m-p/159449#M7812</guid>
      <dc:creator>TimWitt</dc:creator>
      <dc:date>2013-05-21T12:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to Center a Web Map App built from template and hosted in AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-center-a-web-map-app-built-from-template/m-p/159450#M7813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Tim,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your suggestion is good except that on my end I'm sharing the web app via an AGOL template web map app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://bcgis.maps.arcgis.com/home/webmap/viewer.html?webmap=___&amp;amp;center=-80.153503,26.070546&amp;amp;level=14"&gt;http://bcgis.maps.arcgis.com/home/webmap/viewer.html?webmap=___&amp;amp;center=-80.153503,26.070546&amp;amp;level=14&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Above would work, but what I want is to pass a parameter via the app, like below. But the url parameters below won't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://bcgis.maps.arcgis.com/apps/OnePane/basicviewer/index.html?appid=___"&gt;http://bcgis.maps.arcgis.com/apps/OnePane/basicviewer/index.html?appid=___&lt;/A&gt;&lt;SPAN style="color:#FF0000;"&gt;&lt;STRONG&gt;&amp;amp;center=-80.153503,26.070546&amp;amp;level=14&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;There's something else I wonder if I can use. If I make the app configurable. But, I can't figure out how to write a configuration parameters to do what I want.&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;Any ideas??&lt;BR /&gt;&lt;/STRONG&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgisonline/index.html#/Adding_configurable_parameters_to_templates/010q000000ns000000/"&gt;&lt;STRONG&gt;http://resources.arcgis.com/en/help/arcgisonline/index.html#/Adding_configurable_parameters_to_templates/010q000000ns000000/&lt;/STRONG&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 15:57:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-center-a-web-map-app-built-from-template/m-p/159450#M7813</guid>
      <dc:creator>DianaUmpierre</dc:creator>
      <dc:date>2013-05-21T15:57:07Z</dc:date>
    </item>
  </channel>
</rss>

