POST
|
Is this code still in the html page? on(queryTask, "onError", function(err) {
alert(err.details);
});
queryTask.execute(query); Can you remove it since outside the runQuery function, queryTask is the esri/tasks/QueryTask module rather than an instance of a QueryTask.
... View more
04-15-2014
03:17 PM
|
0
|
0
|
1186
|
POST
|
I just noticed that `runQuery` is missing a call to `queryTask.execute(query)`. Can you try adding this before the queryTask.on line?
... View more
04-15-2014
12:02 PM
|
0
|
0
|
1186
|
POST
|
How about this? function runQuery() {
var queryTask = new esri.tasks.QueryTask("http://gis.phila.gov/ArcGIS/rest/services/PhilaGov/Police_Incidents_Last30/MapServer/0");
var query = new esri.tasks.Query();
query.returnGeometry = true;
query.where = '1=1';
query.outFields = ["DC_DIST", "POINT_X", "POINT_Y"];
queryTask.on("complete", function(event) {
var cL = new clusterlayerNew({
displayOnPan: false,
map: map,
features: event.featureSet.features,
infoWindow: {
template: new esri.InfoTemplate("${SECTOR}"),
width: 325,
height: 100
},
flareLimit: 15,
flareDistanceFromCenter: 20
});
map.addLayer(cL);
});
};
... View more
04-15-2014
11:39 AM
|
0
|
0
|
1186
|
POST
|
Try: queryTask.on("complete", function(event) {}); See: https://developers.arcgis.com/javascript/jsapi/querytask-amd.html#event-complete
... View more
04-15-2014
10:56 AM
|
0
|
0
|
1186
|
POST
|
An alternative option is to use the TypeScript definition file that's available at: https://github.com/Esri/jsapi-resources/tree/master/typescript
... View more
04-15-2014
10:38 AM
|
0
|
0
|
404
|
POST
|
Yes, you can create multiple sublayer tags, but ID should be id. See: http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Dynamic_Tiled_Feature_and_Image_layer_types/01m300000053000000/
... View more
04-02-2014
10:42 AM
|
0
|
0
|
135
|
POST
|
You can set a rotation on the map tag: http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Map_content/01m30000005p000000/
... View more
01-31-2014
02:46 PM
|
0
|
0
|
226
|
POST
|
See: Map.multiTouchRotationEnabled: https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/Map.html#multiTouchRotationEnabled
... View more
01-02-2014
06:06 PM
|
0
|
0
|
198
|
POST
|
This fix is also included in version 3.6 which is due to be released by early next week.
... View more
12-11-2013
09:41 AM
|
0
|
0
|
1184
|
POST
|
Hi Ben, I found that the problem is that the JSON /rest/info response used by the app is returning the URL as just http. See the tokenServicesUrl at: https://sygdev.systra.info/arcgis/rest/info?f=pjson This may be a server bug. It is being investigated. Are you compiling your Viewer? If you are, I can show you how to update the code so that it doesn't use the /rest/info response.
... View more
12-11-2013
09:05 AM
|
0
|
0
|
382
|
POST
|
Can you double-check that your application is using the web adapter URL? You can use the Chrome Dev tools to see the network requests. Also, do yo have a public URL to your app? One problem may be that I get a SSL certificate error ("host name mismatch") when loading https://sygdev.systra.info/arcgis/rest/info
... View more
12-11-2013
08:36 AM
|
0
|
0
|
382
|
POST
|
Hi Dasa, I got a problem with the request POST when I log, actually, it send to the URL http://.../generateToken but I would like, like on yours, https://..../generateToken, could you explain me how to do that?? Thanks in advance, Ben What is the Token Service URL shown at: http://[host]/arcgis/rest/info
... View more
12-10-2013
12:24 PM
|
0
|
0
|
382
|
POST
|
You can set a definition expression on dynamic sublayers. See: http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Dynamic_Tiled_Feature_and_Image_layer_types/01m300000053000000/
... View more
11-27-2013
09:29 AM
|
0
|
0
|
306
|
POST
|
Try changing this line in PopUpRendererSkin.mxml: From: if (linkElement && linkElement.target != "_blank") To: if (linkElement && linkElement.target == "_self")
... View more
11-26-2013
01:28 PM
|
0
|
0
|
1184
|
Title | Kudos | Posted |
---|---|---|
1 | 03-06-2017 01:13 PM | |
2 | 03-06-2017 02:12 PM | |
1 | 06-22-2010 12:01 PM | |
1 | 08-06-2012 09:29 AM |
Online Status |
Offline
|
Date Last Visited |
03-25-2024
08:25 PM
|