POST
|
hhhmmm... you can use querystring. i mean when u open new FLEX app using navigatetourl (e.g. http:///abc/newapp.html). you pass geometry as query string param... then in new FLEX app you access query string. refer below link for more info. http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf626ae-7fe8.html Thanks for ur quick reply.... new flex app ..........
... View more
11-23-2011
12:26 AM
|
0
|
0
|
197
|
POST
|
hi, it seems FF and Chrome is not able to parse response of the url sent from ur application. http://www.sjcog.org/FlexMapViewer24/proxy.ashx?http://gisweb.sjcog.org/ArcGIS/rest/services/SJCOG_ParkAndRide/MapServer/0?f=json --------------- I believe you are using PMS for ur layer in mapservice MXD. You try with CMS and it shud work in all browsers. Thanks Ivan. We looking more closely at the proxy page and Crossdomain file to understand what the problem is. It is strange that it works fine with IE. I did read somewhere that other browsers with the Flash plug-in might struggle with returned strings that are too long. Mark
... View more
11-23-2011
12:01 AM
|
0
|
0
|
385
|
POST
|
hi, if possible, code pelase!! hi I am using flex 3 with arcgis server 10 with the help of flex api. i am getting Error 1009 : cannot access a property or method of a null object reference at mx.controls::Datagrid/mouseDownHandler() while using datagrid with checkboxes to turn on/off layers in the map. i m new to these softwares. Reply soon Thanks in advance
... View more
11-20-2011
11:42 PM
|
0
|
0
|
139
|
POST
|
hi, what do u mean by application here, is it widget/popup or new flex app? I am working on flex 2.2 API and flash 4, i have two applications,such that all the queries based on spatial extent and that result will appear on first application if once user will move from this application to second application by button click on the first application i want to pass the queried geometry from first application to second..... How can i do this......
... View more
11-20-2011
11:40 PM
|
0
|
0
|
197
|
POST
|
call below function on view activate... protected function ShowGPSLocation():void { if(Geolocation.isSupported){ lblGPSStatus.text="Locating you!...." geo= new Geolocation(); if(geo.muted){ Alert.show("Hey, turn on your GPS please"); } geo.addEventListener(GeolocationEvent.UPDATE, handleLocationRequest); } else { Alert.show("GPS not supported"); } } private function handleLocationRequest(event:GeolocationEvent):void { isGPSOn=1; var outSR:SpatialReference = new SpatialReference(4326); var tempGeom:Geometry=new MapPoint(event.longitude,event.latitude,outSR); outSR= new SpatialReference(3414); // Note: GeometryService takes in geometries instead of graphics as input geometryService.project([tempGeom], outSR) } hey, thanks for the replies, yes i've written a trace() into the following if statement: protected function myMap_loadHandler(event:MapEvent):void { if (Geolocation.isSupported) {trace("geo loop begin"); geo = new Geolocation; if (!geo.muted) // check if Geolocation is not disabled on the device {trace("geo on"); zoomToCurrentLocationImg.source = m_gpsA; zoomToCurrentLocationImg.visible = true; } } } 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. any ideas?! do others have this working? thanks Ben
... View more
11-20-2011
11:37 PM
|
0
|
0
|
476
|
POST
|
Faisal, I don't see anything unusual but not sure why it's not working for you. Is it possible for you to attach your sample data and mxd so I can publish service at my end and test it? Regards, Nimesh hi, i m also getting same error.. any idea
... View more
10-24-2011
01:33 AM
|
0
|
0
|
166
|
POST
|
i want to access 9.3.1 Routing Rest service (i.e. http://myGIS/arcgis/rest/services/RoutingService/NAServer/Route but using iOS 2 SDK i m getting error after route task execute as below (i m using routing sample code available on resource center.: There was an error in generation XML document, NSURL = http://myGIS/arcgis/rest/services/RoutingService/NAServer/Route/solve?f=josn but when i access this url in browser then it is giving following error {"error":{"code":500,"message":"Object reference not set to an instance of an object.","details":[]}}.. please help asap. thanks
... View more
10-23-2011
04:34 PM
|
0
|
1
|
799
|
POST
|
Hi, Its good effort by ESRI to support KMLLayer. but it seems spatialreference param does not working. My map and kml are in different projection system. i tried to use optional param but no change. pls let me know how i can change projection of kml. P.S. Rest API is working. if i put outSR = 3414 with http://utility.arcgis.com/sharing/kml then it is able to convert coords as per 3414. thank you in advance Version 2.4 of the API supports KML data via the KMLLayer class. Samples: ArcGIS API for JavaScript: KML Layer ArcGIS API for JavaScript: KML Layer with buffer
... View more
09-06-2011
07:01 PM
|
0
|
0
|
1089
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|