<?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 Anyway to check whether the basemap is available? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/anyway-to-check-whether-the-basemap-is-available/m-p/591486#M55280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to show a set of points on a basemap, e.g., ESRI's streets map. I use esri.graphicsExtent(graphics) to set the default extent. The problem here is that on some regions, the basemap is not available for a given extent. Altough the user can zoom out to see the points, it would be nice if I can set the default extent in a better way. The question is: for a given extent, is there a way to check whether the basemap is available?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Apr 2013 14:27:14 GMT</pubDate>
    <dc:creator>DawenXie</dc:creator>
    <dc:date>2013-04-18T14:27:14Z</dc:date>
    <item>
      <title>Anyway to check whether the basemap is available?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/anyway-to-check-whether-the-basemap-is-available/m-p/591486#M55280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to show a set of points on a basemap, e.g., ESRI's streets map. I use esri.graphicsExtent(graphics) to set the default extent. The problem here is that on some regions, the basemap is not available for a given extent. Altough the user can zoom out to see the points, it would be nice if I can set the default extent in a better way. The question is: for a given extent, is there a way to check whether the basemap is available?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 14:27:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/anyway-to-check-whether-the-basemap-is-available/m-p/591486#M55280</guid>
      <dc:creator>DawenXie</dc:creator>
      <dc:date>2013-04-18T14:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Anyway to check whether the basemap is available?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/anyway-to-check-whether-the-basemap-is-available/m-p/591487#M55281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately no, there's not a way to know whether tiles displayed from a basemap are actual map tiles or "map unavailable" tiles.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 14:49:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/anyway-to-check-whether-the-basemap-is-available/m-p/591487#M55281</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2013-04-18T14:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Anyway to check whether the basemap is available?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/anyway-to-check-whether-the-basemap-is-available/m-p/591488#M55282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your quick response Derek! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The data I have is a person's synthetic activities. Here the person could be in U.S., or other countries and the extent for their activities could be small (and the extent is small) or relatively big. Do you have suggestion on how to set the intial extent when I have all the data ready? Or, just ask my end-users to wait till ESRI provides better basemap for some regions? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Unfortunately no, there's not a way to know whether tiles displayed from a basemap are actual map tiles or "map unavailable" tiles.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 15:01:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/anyway-to-check-whether-the-basemap-is-available/m-p/591488#M55282</guid>
      <dc:creator>DawenXie</dc:creator>
      <dc:date>2013-04-18T15:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Anyway to check whether the basemap is available?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/anyway-to-check-whether-the-basemap-is-available/m-p/591489#M55283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My only thought is to set a maximum zoom level in your app and stick to that. You could look at extent size (width or height) for a set of activities and, if it's smaller than some threshold, you could use centerAndZoom to the center of the extent and a zoom level rather than passing the extent directly to map.setExtent.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 15:19:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/anyway-to-check-whether-the-basemap-is-available/m-p/591489#M55283</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2013-04-18T15:19:22Z</dc:date>
    </item>
  </channel>
</rss>

