<?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 Showing 3 - 4 locations on the map in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/showing-3-4-locations-on-the-map/m-p/520857#M48556</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am showing 3-4 locations on the map using the pin icon(like Google map does). The problem is that the map is zoomed so that I see the last address location only on the map. When I zoom out I will be able to see all the locations. How do I set the map so every location(pins on the map) show when the map loads. The below code I use to locate the address:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var ptAttr = geocodeResults[0].attributes;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var esriExtent = new esri.geometry.Extent(ptAttr.West_Lon, ptAttr.South_Lat, ptAttr.East_Lon, ptAttr.North_Lat, new esri.SpatialReference({&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wkid: 4326&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;map.setExtent(esri.geometry.geographicToWebMercator(esriExtent));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Asok&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Dec 2011 15:25:52 GMT</pubDate>
    <dc:creator>AsokKumar</dc:creator>
    <dc:date>2011-12-29T15:25:52Z</dc:date>
    <item>
      <title>Showing 3 - 4 locations on the map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/showing-3-4-locations-on-the-map/m-p/520857#M48556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am showing 3-4 locations on the map using the pin icon(like Google map does). The problem is that the map is zoomed so that I see the last address location only on the map. When I zoom out I will be able to see all the locations. How do I set the map so every location(pins on the map) show when the map loads. The below code I use to locate the address:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var ptAttr = geocodeResults[0].attributes;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var esriExtent = new esri.geometry.Extent(ptAttr.West_Lon, ptAttr.South_Lat, ptAttr.East_Lon, ptAttr.North_Lat, new esri.SpatialReference({&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wkid: 4326&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;map.setExtent(esri.geometry.geographicToWebMercator(esriExtent));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Asok&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 15:25:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/showing-3-4-locations-on-the-map/m-p/520857#M48556</guid>
      <dc:creator>AsokKumar</dc:creator>
      <dc:date>2011-12-29T15:25:52Z</dc:date>
    </item>
  </channel>
</rss>

