<?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: Flex mobile geolocation in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542255#M12250</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://www.arcgis.com/rc/item.html?id=7424b578a476464fba727e219e65934d"&gt;here&lt;/A&gt;&lt;SPAN&gt; is a sample project I posted, that has all the code for geolocation and also buffers the map point for horizontal accuracy.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2012 13:53:45 GMT</pubDate>
    <dc:creator>AaronNash</dc:creator>
    <dc:date>2012-03-26T13:53:45Z</dc:date>
    <item>
      <title>Flex mobile geolocation</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542244#M12239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I've developed a mobile application using the flex api, but the geolocation doesn't seem to be working on iOS devices, but it does on android. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've just taken the code from the ESRI mobile web map sample provided with the api for geolocation, but iOS devices do t seem to like it! I've checked the device settings, and tried it on a few devices, but no luck, whereas on android it works fine&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone know anything about this!?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 12:56:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542244#M12239</guid>
      <dc:creator>deleted-user-NnRwwd8ols89</dc:creator>
      <dc:date>2011-11-17T12:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Flex mobile geolocation</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542245#M12240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you use the flash debugger to verify that Geolocation.isSupported==true on your device?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 14:27:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542245#M12240</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2011-11-17T14:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Flex mobile geolocation</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542246#M12241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;can you post your code?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 16:53:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542246#M12241</guid>
      <dc:creator>AaronNash</dc:creator>
      <dc:date>2011-11-18T16:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Flex mobile geolocation</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542247#M12242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hey, thanks for the replies, yes i've written a trace() into the following if statement:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected function myMap_loadHandler(event:MapEvent):void&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (Geolocation.isSupported)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {trace("geo loop begin");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geo = new Geolocation;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!geo.muted) // check if Geolocation is not disabled on the device&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {trace("geo on");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zoomToCurrentLocationImg.source = m_gpsA;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zoomToCurrentLocationImg.visible = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i get the "geo loop begin" trace but not the "geo on", i've checked the device settings and geolocation works fine in all other apps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any ideas?! do others have this working?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 05:52:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542247#M12242</guid>
      <dc:creator>deleted-user-NnRwwd8ols89</dc:creator>
      <dc:date>2011-11-21T05:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Flex mobile geolocation</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542248#M12243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;call below function on view activate... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;protected function ShowGPSLocation():void&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if(Geolocation.isSupported){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lblGPSStatus.text="Locating you!...."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geo= new Geolocation();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(geo.muted){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alert.show("Hey, turn on your GPS please");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geo.addEventListener(GeolocationEvent.UPDATE, handleLocationRequest);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alert.show("GPS not supported");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;private function handleLocationRequest(event:GeolocationEvent):void {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; isGPSOn=1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var outSR:SpatialReference = new SpatialReference(4326);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var tempGeom:Geometry=new MapPoint(event.longitude,event.latitude,outSR);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; outSR= new SpatialReference(3414);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Note: GeometryService takes in geometries instead of graphics as input&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; geometryService.project([tempGeom], outSR)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;hey, thanks for the replies, yes i've written a trace() into the following if statement:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected function myMap_loadHandler(event:MapEvent):void&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (Geolocation.isSupported)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {trace("geo loop begin");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geo = new Geolocation;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!geo.muted) // check if Geolocation is not disabled on the device&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {trace("geo on");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zoomToCurrentLocationImg.source = m_gpsA;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zoomToCurrentLocationImg.visible = true;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&lt;BR /&gt;i get the "geo loop begin" trace but not the "geo on", i've checked the device settings and geolocation works fine in all other apps.&lt;BR /&gt;&lt;BR /&gt;any ideas?! do others have this working?&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;Ben&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 07:37:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542248#M12243</guid>
      <dc:creator>RajendraShelar</dc:creator>
      <dc:date>2011-11-21T07:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Flex mobile geolocation</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542249#M12244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is what I am using, have not tested it on an Iphone yet but works seamlessly. I am also reprojecting the point into a different spatial reference &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp; private function locate():void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (Geolocation.isSupported==true)&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Initialize the location sensor.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geolocation = new Geolocation();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geolocation.setRequestedUpdateInterval(5000);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geolocation.addEventListener(GeolocationEvent.UPDATE, onTravel);&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; else
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alert.show("Geolocation feature not supported");
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; //geolocation event listener&amp;nbsp; 
&amp;nbsp;&amp;nbsp; private function onTravel(event:GeolocationEvent):void 
&amp;nbsp;&amp;nbsp; { 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var long:String = event.longitude.toString();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var lat:String = event.latitude.toString();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var longnew:Number = Number(long);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var latnew:Number = Number(lat);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var GPSPoint:MapPoint = new MapPoint(longnew, latnew);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPSPoint.spatialReference = new SpatialReference(4326); 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var outSR:SpatialReference = new SpatialReference(2234);&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geometryService.project([GPSPoint as Geometry], outSR);
&amp;nbsp;&amp;nbsp; } &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:30:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542249#M12244</guid>
      <dc:creator>AaronNash</dc:creator>
      <dc:date>2021-12-11T23:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Flex mobile geolocation</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542250#M12245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks guys this works now! not sure what it was before, but great to get it working. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;has anyone implemented the same location symbol as used by other native iOS apps, the blue dot with the accuracy indicator/circle around it as opposed to the picture marker symbol?!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 00:44:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542250#M12245</guid>
      <dc:creator>deleted-user-NnRwwd8ols89</dc:creator>
      <dc:date>2011-11-24T00:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Flex mobile geolocation</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542251#M12246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Don't think we have the capabilities to do that yet, in the native Android API there I there is something to display the accuracy on the point, &lt;/SPAN&gt;&lt;A href="http://code.google.com/android/add-ons/google-apis/reference/com/google/android/maps/MyLocationOverlay.html" rel="nofollow"&gt;&lt;SPAN style="color:&amp;quot;red&amp;quot;;"&gt;HERE&lt;/SPAN&gt; &lt;/A&gt;&lt;SPAN&gt;is some info on that. I was trying to do something in Flex to accomplish that but have not really gotten anywhere. I was thinking about two symbols to display the GPS location, a center point and then a larger circle underneath, and then having the size of the circle respresent the accuracy of the location. But i did not invest anytime in working through the code, I figured you would need some kind math equation to look at the scale of the map, the accuracy of the GPS, and then draw the circle to accurately represent the accuracy of the GPS signal. Maybe someone else will chime in with a better way, but my math is sub-par and I don't have time to invest in that at the moment&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 12:25:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542251#M12246</guid>
      <dc:creator>AaronNash</dc:creator>
      <dc:date>2011-12-01T12:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Flex mobile geolocation</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542252#M12247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I came across a thought on how to create that GPS accuracy polygon. I have not finished the code, haven't had the time. But here is what I started, create a new function like this one&lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;private function bufferGPS():void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; var bufferParameters:BufferParameters = new BufferParameters();
&amp;nbsp;&amp;nbsp;&amp;nbsp; bufferParameters.geometries = [ map point to buffer ];
&amp;nbsp;&amp;nbsp;&amp;nbsp; bufferParameters.distances = [this will be where you put the accuracy number];
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Note: As of version 2.0, the buffer constants have been moved to GeometryService.
&amp;nbsp;&amp;nbsp;&amp;nbsp; bufferParameters.unit = GeometryService.UNIT_METER;
&amp;nbsp;&amp;nbsp;&amp;nbsp; bufferParameters.bufferSpatialReference = map.spatialReference;
&amp;nbsp;&amp;nbsp;&amp;nbsp; bufferParameters.outSpatialReference = map.spatialReference;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; geometryService1.addEventListener(GeometryServiceEvent.BUFFER_COMPLETE, bufferCompleteHandler);
&amp;nbsp;&amp;nbsp;&amp;nbsp; geometryService1.buffer(bufferParameters);
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; function bufferCompleteHandler(event:GeometryServiceEvent):void
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geometryService1.removeEventListener(GeometryServiceEvent.BUFFER_COMPLETE, bufferCompleteHandler);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Note: As of version 2.0, GeometryService returns geometries (instead of graphics)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for each (var geometry:Polygon in event.result)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var graphic:Graphic = new Graphic();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphic.geometry = geometry;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphic.symbol = fillSymbol;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myGraphicsLayer.add(graphic);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Call the function everytime you update the GPS, the problem I have not had time to resolve is how to get the horizontal accuracy as the bufferParameters.distances. Not sure its the best way to do it, its a call to a geometry service to buffer the map point everytime the GPS updates, but it could work&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:30:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542252#M12247</guid>
      <dc:creator>AaronNash</dc:creator>
      <dc:date>2021-12-11T23:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Flex mobile geolocation</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542253#M12248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I am trying to execute this script (see below) using Flex 4.5 but I keep getting an error on the line referencing geometryService.project; my Flex compiler says I am accessing an undefined property 'project'.&amp;nbsp; Any help, much appreciated!&amp;nbsp; Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;private function onUpdate(event:GeolocationEvent):void &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; { &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var long:String = event.longitude.toString();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var lat:String = event.latitude.toString();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var longnew:Number = Number(long);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var latnew:Number = Number(lat);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var GPSPoint:MapPoint = new MapPoint(longnew, latnew);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPSPoint.spatialReference = new SpatialReference(4326); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var outSR:SpatialReference = new SpatialReference(2234);&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;geometryService.project([GPSPoint as Geometry], outSR); &lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 13:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542253#M12248</guid>
      <dc:creator>TomRauch</dc:creator>
      <dc:date>2012-03-26T13:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Flex mobile geolocation</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542254#M12249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tom,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you have to have a geometry service available to reproject the point, this is the one I was using&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;nbsp; &amp;lt;esri:GeometryService id="geometryService"&amp;nbsp; concurrency="last" fault="onFaultGeo(event)" projectComplete="projectCompleteHandler(event)"&amp;nbsp; url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer"/&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 13:42:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542254#M12249</guid>
      <dc:creator>AaronNash</dc:creator>
      <dc:date>2012-03-26T13:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Flex mobile geolocation</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542255#M12250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://www.arcgis.com/rc/item.html?id=7424b578a476464fba727e219e65934d"&gt;here&lt;/A&gt;&lt;SPAN&gt; is a sample project I posted, that has all the code for geolocation and also buffers the map point for horizontal accuracy.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 13:53:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542255#M12250</guid>
      <dc:creator>AaronNash</dc:creator>
      <dc:date>2012-03-26T13:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Flex mobile geolocation</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542256#M12251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Aaron, thanks!&amp;nbsp; I will give that a shot later this afternoon/evening!&amp;nbsp; Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 13:57:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542256#M12251</guid>
      <dc:creator>TomRauch</dc:creator>
      <dc:date>2012-03-26T13:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Flex mobile geolocation</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542257#M12252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Aaron, the script works - thank you!&amp;nbsp; I am now interested in using an httpservice call to load custom xml as markers on a map.&amp;nbsp; If you know where I can get guidance on that, please let me know!&amp;nbsp; Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 12:53:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542257#M12252</guid>
      <dc:creator>TomRauch</dc:creator>
      <dc:date>2012-03-28T12:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Flex mobile geolocation</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542258#M12253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have not personally done that within my app, &lt;/SPAN&gt;&lt;A href="http://tv.adobe.com/watch/adc-presents/remote-xml-services-in-flex-mobile-applications/"&gt;here&lt;/A&gt;&lt;SPAN&gt; is a link to an Adobe video showing how to access an XML feed and process the data into a list. &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/index.html#/Reading_GeoRSS_feeds/01nq00000026000000/"&gt;Here&lt;/A&gt;&lt;SPAN&gt; is another link to a GeoRSS feed sample, that will probably provide you with more information on how to process the data into map points. Maybe someone else will chime in, since this is a new question you will want to create a new thread. If i solved your original problem please rate my response.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 13:18:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542258#M12253</guid>
      <dc:creator>AaronNash</dc:creator>
      <dc:date>2012-03-28T13:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Flex mobile geolocation</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542259#M12254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Excellent response!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 13:22:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542259#M12254</guid>
      <dc:creator>TomRauch</dc:creator>
      <dc:date>2012-03-28T13:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Flex mobile geolocation</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542260#M12255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For anyone interested, attached is an ActionScript Class that let's you build the circle polygon in the client when using WGS84 or Web Mercator base maps. When you call the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;createMercatorBasedCircle()&lt;/SPAN&gt;&lt;SPAN&gt; method you pass the radius value taken from the GPS. This eliminates the server round trip to a geometry service. to For a demonstration of how it works, the code is taken from this project: &lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=5f3bf5febd9e4a1d8cf92b15c75b9e41"&gt;http://www.arcgis.com/home/item.html?id=5f3bf5febd9e4a1d8cf92b15c75b9e41&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 21:44:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-geolocation/m-p/542260#M12255</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2012-04-03T21:44:23Z</dc:date>
    </item>
  </channel>
</rss>

