<?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: Method for getting the URL of current map? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/method-for-getting-the-url-of-current-map/m-p/615895#M57555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi there, &lt;BR /&gt;&lt;BR /&gt;I'm curious if there's a method in the JS API v2.2 that will return back the URL of the current state of the map?&lt;BR /&gt;&lt;BR /&gt;For instance, in Google Maps, you can click "Link" at the top, and it will give you an URL that will take you directly to the map as you were viewing it, with all the appropriate parameters. (&lt;A href="http://maps.google.ca/?ie=UTF8&amp;amp;ll=49.891235,-97.15369&amp;amp;spn=31.500974,79.365234&amp;amp;t=h&amp;amp;z=4"&gt;http://maps.google.ca/?ie=UTF8&amp;amp;ll=49.891235,-97.15369&amp;amp;spn=31.500974,79.365234&amp;amp;t=h&amp;amp;z=4&lt;/A&gt;)&lt;BR /&gt;&lt;BR /&gt;Forgive me if this is a novice question... but I am a novice! Any insight would be greatly appreciated.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esri.layers.Layer.url and esri.dijit.BasemapLayer.url will cover all the esri layers that are added to the map. Are these properties you are looking for?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 May 2011 20:07:16 GMT</pubDate>
    <dc:creator>HemingZhu</dc:creator>
    <dc:date>2011-05-31T20:07:16Z</dc:date>
    <item>
      <title>Method for getting the URL of current map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/method-for-getting-the-url-of-current-map/m-p/615894#M57554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm curious if there's a method in the JS API v2.2 that will return back the URL of the current state of the map?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For instance, in Google Maps, you can click "Link" at the top, and it will give you an URL that will take you directly to the map as you were viewing it, with all the appropriate parameters. (&lt;/SPAN&gt;&lt;A href="http://maps.google.ca/?ie=UTF8&amp;amp;ll=49.891235,-97.15369&amp;amp;spn=31.500974,79.365234&amp;amp;t=h&amp;amp;z=4"&gt;http://maps.google.ca/?ie=UTF8&amp;amp;ll=49.891235,-97.15369&amp;amp;spn=31.500974,79.365234&amp;amp;t=h&amp;amp;z=4&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Forgive me if this is a novice question... but I am a novice! Any insight would be greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 13:57:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/method-for-getting-the-url-of-current-map/m-p/615894#M57554</guid>
      <dc:creator>DanBowerman</dc:creator>
      <dc:date>2011-05-31T13:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Method for getting the URL of current map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/method-for-getting-the-url-of-current-map/m-p/615895#M57555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi there, &lt;BR /&gt;&lt;BR /&gt;I'm curious if there's a method in the JS API v2.2 that will return back the URL of the current state of the map?&lt;BR /&gt;&lt;BR /&gt;For instance, in Google Maps, you can click "Link" at the top, and it will give you an URL that will take you directly to the map as you were viewing it, with all the appropriate parameters. (&lt;A href="http://maps.google.ca/?ie=UTF8&amp;amp;ll=49.891235,-97.15369&amp;amp;spn=31.500974,79.365234&amp;amp;t=h&amp;amp;z=4"&gt;http://maps.google.ca/?ie=UTF8&amp;amp;ll=49.891235,-97.15369&amp;amp;spn=31.500974,79.365234&amp;amp;t=h&amp;amp;z=4&lt;/A&gt;)&lt;BR /&gt;&lt;BR /&gt;Forgive me if this is a novice question... but I am a novice! Any insight would be greatly appreciated.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esri.layers.Layer.url and esri.dijit.BasemapLayer.url will cover all the esri layers that are added to the map. Are these properties you are looking for?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 20:07:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/method-for-getting-the-url-of-current-map/m-p/615895#M57555</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2011-05-31T20:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Method for getting the URL of current map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/method-for-getting-the-url-of-current-map/m-p/615896#M57556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you're talking about linking to a specific geographic extent and/or showing/hiding layers based on query string parameters that are part of a URL, there is not a built-in way to do that. But it can easily be coded in your app. The &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/ags_fullmaplayout.html"&gt;ArcGIS.com - Full Map&lt;/A&gt;&lt;SPAN&gt; sample shows how to load a web map based on a query string parameter. You could implement a similar strategy to keep track of the map's center or currently visible layers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 20:14:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/method-for-getting-the-url-of-current-map/m-p/615896#M57556</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-05-31T20:14:12Z</dc:date>
    </item>
  </channel>
</rss>

