<?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 Problem with same center-point showing different view in Arcgis and Google static map in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/problem-with-same-center-point-showing-different/m-p/690086#M4734</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;We need to write a map service that returns a static map image in png. The map service will return 25 nearest records from a center point (lat/long input to the service) within 0.25 and 0.5 mile radius (Red and Yellow circle in the map). We are getting different results when using the Google Map and the ArcGIS Map as basemap Layer. &lt;SPAN style="color: #000000; font-family: Helvetica, Arial;"&gt;Please see below the comparative images to know the difference between the result images. The left side images are generated using Google Map as basemap layer and the right side images are generated using the ArcGIS map as the basemap layer.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial;"&gt;This is happening for some locations though, for some locations the maps are identical. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN style="color: #222426; text-decoration: underline; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-decoration: underline;"&gt;Example No - 1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial;"&gt;&lt;IMG __jive_id="194835" alt="map1.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/194835_map1.png" style="width: 620px; height: 267px; display: block; margin-left: auto; margin-right: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN style="color: #222426; font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000;"&gt;lat=61.230110000000082 &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;lng=-149.89142999999996&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN style="color: #000000; text-decoration: underline; font-family: Helvetica, Arial;"&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-align: center; text-decoration: underline;"&gt;Example &lt;/SPAN&gt;No - 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="194837" alt="map1.png" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/194837_map1.png" style="width: 620px; height: 262px; margin-left: auto; margin-right: auto; display: block;" /&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #000000;"&gt;lat=40.641575 &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;lng=-74.134704&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN style="color: #000000; text-decoration: underline; font-family: Helvetica, Arial; text-align: center;"&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-align: center; text-decoration: underline;"&gt;Example&lt;/SPAN&gt; No - 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN style="color: #000000; text-decoration: underline; font-family: Helvetica, Arial; text-align: center;"&gt;&lt;IMG __jive_id="194838" alt="map2.png" class="image-4 jive-image" src="https://community.esri.com/legacyfs/online/194838_map2.png" style="width: 620px; height: 262px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN style="color: #000000; text-decoration: underline; font-family: Helvetica, Arial; text-align: center;"&gt;l&lt;SPAN style="font-family: 'courier new', courier;"&gt;at=60.9075 lng=-161.229402&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="; color: #000000; text-decoration: underline; font-family: Helvetica, Arial; text-align: center;"&gt;&lt;STRONG&gt;Code&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-align: center;"&gt;1.Geocode Server find &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left; padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'courier new', courier; text-align: center;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fgeocode.arcgis.com%2Farcgis%2Frest%2Fservices%2FWorld%2FGeocodeServer%2Ffind%3Ftext%3D" rel="nofollow" target="_blank"&gt;https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/find?text=&lt;/A&gt;&lt;SPAN&gt;" . $lng . "," . $lat . "&amp;amp;outFields=addr_type&amp;amp;f=json&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-align: center;"&gt;2. Basemap layer&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: 'courier new', courier; text-align: center;"&gt;&lt;A href="http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer" title="http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"&gt;World_Topo_Map (MapServer)&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: 'courier new', courier; text-align: center;"&gt;We have used Map option scale as 18055.954822 for zoom level.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-align: center;"&gt;3. &lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-align: center;"&gt;Circle &lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-align: center;"&gt;layer using symbol&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left; padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'courier new', courier; text-align: center;"&gt;Circle red [ 0.25 mile radius ]&amp;nbsp; size&amp;nbsp; : 175&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left; padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #000000; text-align: center;"&gt;Circle &lt;SPAN style="color: #222222;"&gt;yellow&lt;/SPAN&gt; [ &lt;/SPAN&gt;&lt;SPAN style="color: #000000; text-align: center;"&gt;0.50 mile radius &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-align: center;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;]&amp;nbsp; size&amp;nbsp; : 350 &lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-align: center;"&gt;4. Custom feature server layer data for multi point.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'courier new', courier; text-align: center;"&gt;&lt;A href="https://services6.arcgis.com/24dbuWl3RPiZqoah/ArcGIS/rest/services/Facility_Data/FeatureServer/0/" title="https://services6.arcgis.com/24dbuWl3RPiZqoah/ArcGIS/rest/services/Facility_Data/FeatureServer/0/"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; https://services6.arcgis.com/xxxxxxxxxx/ArcGIS/rest/services/Facility_Data/FeatureServer/0/&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'courier new', courier; text-align: center;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where=(( 6371 * acos( cos( '.$lat.' * 0.01745 ) * cos( (LATITUDE83) * 0.01745 ) * cos( ((LONGITUDE8) * 0.01745) - ('.$lng.' * 0.01745) ) + sin( '.$lat.' * 0.01745) * sin( (LATITUDE83) * 0.01745 ) ) ) ) / 1.60934 &amp;lt;= .5&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-align: center;"&gt;5. Then sorting&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;$sort = array();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;foreach($features as $key =&amp;gt; $value){&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;$xa = $value['geometry']['x'];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;$ya = $value['geometry']['y'];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;$id = $value['attributes']['OBJECTID'];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;$pi = pi() / 180.0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;$dis = (( 6371 * acos( cos( $lat * $pi ) * cos( $ya * $pi ) * cos( ($xa * $pi) - ($lng * $pi) ) + sin( $lat * $pi) * sin( $ya * $pi ) ) ) ) / 1.60934;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;$sort[$id] = $dis;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;$data[$id] = $value;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;asort($sort);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial;"&gt;Can you please guide on what is the problem here? &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Apr 2016 11:53:30 GMT</pubDate>
    <dc:creator>DevelopmentTeam</dc:creator>
    <dc:date>2016-04-14T11:53:30Z</dc:date>
    <item>
      <title>Problem with same center-point showing different view in Arcgis and Google static map</title>
      <link>https://community.esri.com/t5/developers-questions/problem-with-same-center-point-showing-different/m-p/690086#M4734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222426; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;We need to write a map service that returns a static map image in png. The map service will return 25 nearest records from a center point (lat/long input to the service) within 0.25 and 0.5 mile radius (Red and Yellow circle in the map). We are getting different results when using the Google Map and the ArcGIS Map as basemap Layer. &lt;SPAN style="color: #000000; font-family: Helvetica, Arial;"&gt;Please see below the comparative images to know the difference between the result images. The left side images are generated using Google Map as basemap layer and the right side images are generated using the ArcGIS map as the basemap layer.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial;"&gt;This is happening for some locations though, for some locations the maps are identical. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN style="color: #222426; text-decoration: underline; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-decoration: underline;"&gt;Example No - 1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial;"&gt;&lt;IMG __jive_id="194835" alt="map1.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/194835_map1.png" style="width: 620px; height: 267px; display: block; margin-left: auto; margin-right: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN style="color: #222426; font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000;"&gt;lat=61.230110000000082 &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;lng=-149.89142999999996&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN style="color: #000000; text-decoration: underline; font-family: Helvetica, Arial;"&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-align: center; text-decoration: underline;"&gt;Example &lt;/SPAN&gt;No - 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="194837" alt="map1.png" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/194837_map1.png" style="width: 620px; height: 262px; margin-left: auto; margin-right: auto; display: block;" /&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #000000;"&gt;lat=40.641575 &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;lng=-74.134704&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN style="color: #000000; text-decoration: underline; font-family: Helvetica, Arial; text-align: center;"&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-align: center; text-decoration: underline;"&gt;Example&lt;/SPAN&gt; No - 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN style="color: #000000; text-decoration: underline; font-family: Helvetica, Arial; text-align: center;"&gt;&lt;IMG __jive_id="194838" alt="map2.png" class="image-4 jive-image" src="https://community.esri.com/legacyfs/online/194838_map2.png" style="width: 620px; height: 262px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN style="color: #000000; text-decoration: underline; font-family: Helvetica, Arial; text-align: center;"&gt;l&lt;SPAN style="font-family: 'courier new', courier;"&gt;at=60.9075 lng=-161.229402&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="; color: #000000; text-decoration: underline; font-family: Helvetica, Arial; text-align: center;"&gt;&lt;STRONG&gt;Code&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-align: center;"&gt;1.Geocode Server find &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left; padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'courier new', courier; text-align: center;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fgeocode.arcgis.com%2Farcgis%2Frest%2Fservices%2FWorld%2FGeocodeServer%2Ffind%3Ftext%3D" rel="nofollow" target="_blank"&gt;https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/find?text=&lt;/A&gt;&lt;SPAN&gt;" . $lng . "," . $lat . "&amp;amp;outFields=addr_type&amp;amp;f=json&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-align: center;"&gt;2. Basemap layer&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: 'courier new', courier; text-align: center;"&gt;&lt;A href="http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer" title="http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"&gt;World_Topo_Map (MapServer)&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: 'courier new', courier; text-align: center;"&gt;We have used Map option scale as 18055.954822 for zoom level.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-align: center;"&gt;3. &lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-align: center;"&gt;Circle &lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-align: center;"&gt;layer using symbol&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left; padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'courier new', courier; text-align: center;"&gt;Circle red [ 0.25 mile radius ]&amp;nbsp; size&amp;nbsp; : 175&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left; padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #000000; text-align: center;"&gt;Circle &lt;SPAN style="color: #222222;"&gt;yellow&lt;/SPAN&gt; [ &lt;/SPAN&gt;&lt;SPAN style="color: #000000; text-align: center;"&gt;0.50 mile radius &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-align: center;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;]&amp;nbsp; size&amp;nbsp; : 350 &lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-align: center;"&gt;4. Custom feature server layer data for multi point.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'courier new', courier; text-align: center;"&gt;&lt;A href="https://services6.arcgis.com/24dbuWl3RPiZqoah/ArcGIS/rest/services/Facility_Data/FeatureServer/0/" title="https://services6.arcgis.com/24dbuWl3RPiZqoah/ArcGIS/rest/services/Facility_Data/FeatureServer/0/"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; https://services6.arcgis.com/xxxxxxxxxx/ArcGIS/rest/services/Facility_Data/FeatureServer/0/&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'courier new', courier; text-align: center;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where=(( 6371 * acos( cos( '.$lat.' * 0.01745 ) * cos( (LATITUDE83) * 0.01745 ) * cos( ((LONGITUDE8) * 0.01745) - ('.$lng.' * 0.01745) ) + sin( '.$lat.' * 0.01745) * sin( (LATITUDE83) * 0.01745 ) ) ) ) / 1.60934 &amp;lt;= .5&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial; text-align: center;"&gt;5. Then sorting&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;$sort = array();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;foreach($features as $key =&amp;gt; $value){&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;$xa = $value['geometry']['x'];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;$ya = $value['geometry']['y'];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;$id = $value['attributes']['OBJECTID'];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;$pi = pi() / 180.0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;$dis = (( 6371 * acos( cos( $lat * $pi ) * cos( $ya * $pi ) * cos( ($xa * $pi) - ($lng * $pi) ) + sin( $lat * $pi) * sin( $ya * $pi ) ) ) ) / 1.60934;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;$sort[$id] = $dis;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;$data[$id] = $value;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;asort($sort);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial;"&gt;Can you please guide on what is the problem here? &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 11:53:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/problem-with-same-center-point-showing-different/m-p/690086#M4734</guid>
      <dc:creator>DevelopmentTeam</dc:creator>
      <dc:date>2016-04-14T11:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with same center-point showing different view in Arcgis and Google static map</title>
      <link>https://community.esri.com/t5/developers-questions/problem-with-same-center-point-showing-different/m-p/690087#M4735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could it be a projection issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 14:28:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/problem-with-same-center-point-showing-different/m-p/690087#M4735</guid>
      <dc:creator>JenniferMcCall4</dc:creator>
      <dc:date>2016-04-14T14:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with same center-point showing different view in Arcgis and Google static map</title>
      <link>https://community.esri.com/t5/developers-questions/problem-with-same-center-point-showing-different/m-p/690088#M4736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jennifer for the reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is very much possible. But is there a way we could control the projection in ArcGIS Basemap?&lt;/P&gt;&lt;P&gt;To me it looks like that the main difference between these two cases are that the circles in the google map is exactly maintaining the 0.25 and 0.5 miles radius as we are passing these parameter in miles while calling the API, so even in cases when of the zoom level changes, the circles may show up in smaller or bigger sizes but the points are never outside the designated circle as their physical location over the map is never changed. But in case of the ArcGIS map we are not able to send the 0.25 and 0.5 miles as parameter to draw the circles. We are drawing the circles by calculating the pixel radius and trying to match with the physical distance. So the map draws the circle measuring the pixel, it does not consider the actual physical distance. So it is geometrically correct but if the basemap layer is not projected exactly like google map as you have anticipated or in some other way it is tilted, then the circles are far from "geospacially" correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please advise?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 06:37:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/problem-with-same-center-point-showing-different/m-p/690088#M4736</guid>
      <dc:creator>DevelopmentTeam</dc:creator>
      <dc:date>2016-04-15T06:37:26Z</dc:date>
    </item>
  </channel>
</rss>

