POST
|
Today we posted a blog article about �??Esri�??s Roadmap for Web Developers�?� that you might find interesting. http://blogs.esri.com/esri/arcgis/2014/02/21/esris-roadmap-for-web-developers/ 'Interesting' is a interesting choice of words. A need a beer. Who will join me? Kalle Växjö, Sweden
... View more
02-25-2014
04:22 AM
|
0
|
0
|
732
|
POST
|
I'm having the same problem. Have anyone find esri's bug report for this problem? /Karl M Växjö - Sweden
... View more
08-22-2012
05:33 AM
|
0
|
0
|
1370
|
POST
|
I think you are correct Mattias. Using the identifyTask will do the trick as long as you have all your layers in one service. Combine multiple services (WebmapServers, WMS, WFS) in to one identifier task would have been great. Something for 3.1? In addition to setting your buffered line as geometry in the identifyparameters you also need to set the layeroptions to "all". Something like his: //Executes when drawing is completed assuming you draw your line
private function drawEnd(event:DrawEvent):void
{
var geom:Geometry = event.graphic.geometry;
identifyParameters.returnGeometry = true;
identifyParameters.tolerance = 3;
identifyParameters.width = map.width;
identifyParameters.height = map.height;
identifyParameters.layerOption = "all";
identifyParameters.mapExtent = map.extent;
identifyTask.showBusyCursor = true;
//Bufferering drawing
var bufferParameters:BufferParameters = new BufferParameters();
bufferParameters.geometries = [ geom ];
bufferParameters.distances = [ <your buffer distance value> ];
bufferParameters.unit = GeometryService.UNIT_METER;
bufferParameters.outSpatialReference = map.spatialReference;
bufferParameters.unionResults = true;
geometryService.addEventListener(GeometryServiceEvent.BUFFER_COMPLETE, bufferCompleteHandler1);
geometryService.buffer(bufferParameters);
function bufferCompleteHandler1(event:GeometryServiceEvent):void
{
for each (var polygon:Polygon in event.result)
{
geometryService.removeEventListener(GeometryServiceEvent.BUFFER_COMPLETE, bufferCompleteHandler1);
identifyParameters.geometry = polygon;
identifyTaskIntresseletaren.execute(identifyParameters)
break;
}
}
}
<esri:GeometryService id="geometryService" url="<your geometry service> "/>
<esri:IdentifyParameters id="identifyParameters"/>
<esri:IdentifyTask id="identifyTask"
concurrency="last"
showBusyCursor="true"
executeComplete="identifyTask_executeCompleteHandler(event)"/> This will work as long as you don't combine your spatial search with a text search. text search - use findtask spatial search - use identifytask text and spatial search - use querytask but can only search on one layer and field at a time searching in one layer only - use querytask, much faster than findtask and identifytask Karl M Växjö municipality
... View more
04-18-2012
01:30 AM
|
0
|
0
|
372
|
POST
|
The source code for the application builder is not yet available, but it is something we are planning for future release (that would support custom widgets, localization, widget groups, etc). Thumbs up! Important for building enterprise solutions I think.
... View more
12-02-2011
10:45 AM
|
0
|
0
|
485
|
POST
|
Hi! Great news, both 2.5 version of the ArcGIS for Flex and Flex 4.6 released during this week. Both with some mobile focus. But could you be more specific on "More spark support for Mobile development"? Keep up the great work. /Karl M Växjö, Sweden
... View more
12-02-2011
10:28 AM
|
0
|
0
|
459
|
POST
|
Great news and great work! Specially the reference framework for the viewer. Chart widget also looks promising. Will the application builder work with custom widgets? Or is there any change you can download the source code for the application builder? /Karl M Växjö, Sweden
... View more
12-02-2011
10:19 AM
|
0
|
0
|
485
|
POST
|
This is a guess, but can't you use the state as data when pushing between map view and other views? /Karl M Växjö, Sweden navigator.pushView(yourview, thestatename);
... View more
10-12-2011
10:45 PM
|
0
|
0
|
292
|
POST
|
Ok, this one I solved myself. It was as easy as to type in "requestip" under clientid. public function RequestToken(username:String, password:String):void {
var http:HTTPService = new HTTPService();
http.addEventListener( ResultEvent.RESULT, tokenResultHandler );
http.addEventListener( FaultEvent.FAULT, faultHandler );
// parameters for the request
var param:Object = {
"request" : "gettoken",
"username": username,
"password": password,
"clientid" : "requestip",
"expiration" : expir
};
// prepare the httpService object for send the request
http.url = "https://yourservername/arcgis/tokens?tokens"; // fake parameter ?tokens for start the process of token generation
http.method = "POST"; // set POST method for not have problem in cache and logs
http.resultFormat = "text";
http.request = param; // set parameters for the request
http.send();
function faultHandler(event:FaultEvent):void {
navigator.pushView(loginView);
Alert.show(event.fault.toString());
}
function tokenResultHandler(event:ResultEvent):void {
var theToken:String = StringUtil.trim(event.result.toString()); // trim the generated token for surprise...
loadProtectedMaps(theToken);
}
}
... View more
10-12-2011
05:37 AM
|
0
|
0
|
152
|
POST
|
Hi! Using "end" as placement and setting offset to -15 in both x and y should do the trick. Karl M Växjö, Sweden <esri:TextSymbol background="true"
alpha="0.6"
textAttribute="fieldName"
backgroundColor="{symbolColor}"
border="true"
borderColor="0x000000"
color="0x000000"
placement="end"
xoffset="-15"
yoffset="-15">
<flash:TextFormat bold="true" size="16"/>
</esri:TextSymbol>
... View more
10-07-2011
04:22 AM
|
0
|
0
|
118
|
POST
|
Hi! I successfully managed to create an Adobe Air app with ArcGIS for Flex (picture attached:o). Much easier than I thought btw and it runs pretty well on 3G. Now I would like to connect to secure service in the app. My thought was to do according to this thread. But for what I know I need to get the IP address instead of "Web Application URL or HTTP Referrer" as identifier in the get token parameters. Am I right? if yes, anyone know have to retrive the Ip-adress from andriods using Flex? Or should this be done in a complete other way? thoughts on this is appreciated Karl M Växjö municipality, Sweden
... View more
10-05-2011
10:35 PM
|
0
|
2
|
548
|