<?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: URL Parameters in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/url-parameters/m-p/527416#M26628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try specifying a level too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.arcgis.com/home/webmap/viewer.html?webmap=2def3f0c7be74f05af33ac87b8d03ef2&amp;amp;center=0,51&amp;amp;level=8"&gt;http://www.arcgis.com/home/webmap/viewer.html?webmap=2def3f0c7be74f05af33ac87b8d03ef2&amp;amp;center=0,51&amp;amp;level=8&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe if you don't specify a level, the current zoom level of the map is used. Is your map currently saved at a small scale?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jul 2012 15:18:32 GMT</pubDate>
    <dc:creator>MikeMinami</dc:creator>
    <dc:date>2012-07-31T15:18:32Z</dc:date>
    <item>
      <title>URL Parameters</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/url-parameters/m-p/527415#M26627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to use url parameters on a web map with a map ID, specifically center on an X,Y point. After first opening my web map, the web address has &amp;amp;extent=x,y,x,y. When I try to change that to &amp;amp;center=x,y, the map simply zooms to the whole globe, not to my point. If I put an X,Y coordinate in the search box, the map zooms to my point. But using the center= parameter does not zoom to a point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason I need this is I have a list of sites on a webpage and want to be able to have a user click the site and have the web map open and zoom right to that point. The help shows using center= on just a fresh web map in the viewer, but nothing about adding parameters to a web map with an ID.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 14:33:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/url-parameters/m-p/527415#M26627</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-07-31T14:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: URL Parameters</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/url-parameters/m-p/527416#M26628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try specifying a level too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.arcgis.com/home/webmap/viewer.html?webmap=2def3f0c7be74f05af33ac87b8d03ef2&amp;amp;center=0,51&amp;amp;level=8"&gt;http://www.arcgis.com/home/webmap/viewer.html?webmap=2def3f0c7be74f05af33ac87b8d03ef2&amp;amp;center=0,51&amp;amp;level=8&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe if you don't specify a level, the current zoom level of the map is used. Is your map currently saved at a small scale?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 15:18:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/url-parameters/m-p/527416#M26628</guid>
      <dc:creator>MikeMinami</dc:creator>
      <dc:date>2012-07-31T15:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: URL Parameters</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/url-parameters/m-p/527417#M26629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yep, that was it. Thanks Mike.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope the examples in the help reflect this in the future.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 01:39:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/url-parameters/m-p/527417#M26629</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-08-01T01:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: URL Parameters</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/url-parameters/m-p/527418#M26630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the deal with encoding URL parameters? The ArcGIS Online help page linked below states that URL parameters must be encoded. But the link provided by Mike M. works without encoding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://doc.arcgis.com/en/arcgis-online/create-maps/use-url-parameters.htm#ESRI_SECTION1_907DD20534E143DEBF352CDA0F1AB938" title="http://doc.arcgis.com/en/arcgis-online/create-maps/use-url-parameters.htm#ESRI_SECTION1_907DD20534E143DEBF352CDA0F1AB938"&gt;http://doc.arcgis.com/en/arcgis-online/create-maps/use-url-parameters.htm#ESRI_SECTION1_907DD20534E143DEBF352CDA0F1AB938&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the page linked above:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; background-color: #fefefe;"&gt;All query parameters must be encoded. URL encoding ensures that valid characters are sent to ArcGIS Online. Encoding replaces invalid characters with % followed by their hex equivalent.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 07:41:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/url-parameters/m-p/527418#M26630</guid>
      <dc:creator>PaulLohr</dc:creator>
      <dc:date>2015-06-04T07:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: URL Parameters</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/url-parameters/m-p/527419#M26631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this article explains URL encoding better than I can...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://en.wikipedia.org/wiki/Percent-encoding" title="http://en.wikipedia.org/wiki/Percent-encoding"&gt;Percent-encoding - Wikipedia, the free encyclopedia&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="color: #252525; font-family: sans-serif;"&gt;When a character from the reserved set (a "reserved character") has special meaning (a "reserved purpose") in a certain context, and a URI scheme says that it is necessary to use that character for some &lt;/SPAN&gt;&lt;SPAN style="color: #252525; font-family: sans-serif;"&gt;&lt;EM&gt;other&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #252525; font-family: sans-serif;"&gt; purpose, then the character must be &lt;/SPAN&gt;&lt;SPAN style="color: #252525; font-family: sans-serif;"&gt;&lt;EM&gt;percent-encoded&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #252525; font-family: sans-serif;"&gt;."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #252525; font-family: sans-serif;"&gt;Basically you encode reserved characters when they can be interpreted in the wrong context. I am by no means an expert in this area, but hopefully this example is correct and will make sense... Suppose the Center parameter required the use of ampersand before the coordinate value and didn't require a comma to separate (because the ampersand worked to separate). You might form the center parameter like this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #252525; font-family: sans-serif;"&gt;Center=&amp;amp;20&amp;amp;50&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #252525; font-family: sans-serif;"&gt;However, since ampersand is a reserved character that indicates a parameter on the URL, in order for the coordinates to be passed on and not interpreted as URL parameters, you'd need to encode it&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #252525; font-family: sans-serif;"&gt;Center=%2620%2650&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #252525; font-family: sans-serif;"&gt;where the %26 is the URL encoding of ampersand.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #252525; font-family: sans-serif;"&gt;The article does say that where there isn't any confusion over context, you don't necessarily have to encode the character. But I'd say do it as a general rule...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 18:35:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/url-parameters/m-p/527419#M26631</guid>
      <dc:creator>MikeMinami</dc:creator>
      <dc:date>2015-06-10T18:35:31Z</dc:date>
    </item>
  </channel>
</rss>

