|
POST
|
A polyline doesn't have an angle, only a straight line does. But a polyline is made up of smaller straight line segments. Find the segment where you want to place the symbol and calculate it's angle.
... View more
12-29-2014
04:31 PM
|
0
|
0
|
372
|
|
POST
|
You can check by going to https://arcgistest.maps.arcgis.com/sharing/rest/portals/self?f=pjson&token=<token> and verify you have the "premium:user:spatialanalysis" privilege: (of course use your own org. url instead of arcgistest.maps.arcgis.com)
... View more
12-29-2014
01:23 PM
|
2
|
1
|
2062
|
|
POST
|
The analysis services consume credits, so you would need an organizational account and be authorized by your admin to use these services...
... View more
12-29-2014
01:13 PM
|
0
|
3
|
2062
|
|
POST
|
You're using the wrong endpoint. If you go through ArcGIS REST API: Spatial Analysis Service | ArcGIS for Developers you'll see references to for example http://<analysis url>/InterpolatePoints, <analysis url> is your GP Server endpoint. Typically with an ArcGIS Online account this is analysis.arcgis.com/arcgis/rest/services/tasks/GPServer. So to submit an interpolate points request you would use http://analysis.arcgis.com/arcgis/rest/services/tasks/GPServer/InterpolatePoints/submitJob
... View more
12-29-2014
12:19 PM
|
1
|
5
|
2062
|
|
POST
|
Use something like this: require([
"esri/IdentityManager",
"esri/ServerInfo",
"esri/Credential",
"esri/request"
], function(
idManager,
ServerInfo,
Credential,
esriRequest
) {
var serverInfo = new ServerInfo();
serverInfo.server = "http://geocode.arcgis.com";
serverInfo.tokenServiceUrl = "https://www.arcgis.com/sharing/generateToken";
idManager.registerServers([serverInfo]);
var userId = "MyUserID",
password = "MyPassword";
idManager.generateToken(serverInfo, {
username: userId,
password: password
}).then(function(response) {
idManager.registerToken({
server: serverInfo.server,
userId: userId,
token: response.token,
expires: response.expires,
ssl: response.ssl
});
esriRequest({
url: "http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/geocodeAddresses",
content: {
f: "json",
addresses: JSON.stringify({
records: [{
attributes: {
Address: "380 New York St",
City: "Redlands"
}
}]
})
}
}).then(function(response) {
console.log(response);
});
});
});
... View more
12-29-2014
11:23 AM
|
0
|
0
|
696
|
|
POST
|
The code snippet you supplied is from dojo/string.substitute . Can you supply the entire stack trace when this error occured?
... View more
12-22-2014
09:59 AM
|
0
|
0
|
1071
|
|
POST
|
Calculate the angle of the line and set the rotation of the text symbol accordingly.
... View more
12-22-2014
08:15 AM
|
0
|
7
|
2390
|
|
POST
|
Why do you want to show multiple popups? That's probably very confusing for the user. Can't you show all the graphics in one popup with arrows to let the user page through the graphics? This is ootb functionality of the esri/dijit/Popup widget.
... View more
12-19-2014
01:21 PM
|
0
|
2
|
2147
|
|
POST
|
Yeah, you would do it the same way; loop over all vertices in the polygon and offset the X.
... View more
12-19-2014
11:04 AM
|
0
|
0
|
1465
|
|
POST
|
You're not using sort correctly, needs to be something like: var sortedFeatures = results.features.sort(function(a,b) {
return a.attributes.PARCELID.localeCompare(b.attributes.PARCELID);
});
... View more
12-19-2014
10:06 AM
|
1
|
0
|
1454
|
|
POST
|
Not sure I follow, but here's an example of a Dijit checkbox tree: Dojo Dijit Tree with Checkboxes
... View more
12-19-2014
09:18 AM
|
0
|
0
|
892
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-06-2018 12:55 PM | |
| 1 | 07-06-2017 03:01 PM | |
| 1 | 12-19-2014 10:06 AM | |
| 1 | 12-08-2014 12:28 PM | |
| 1 | 12-29-2014 12:19 PM |
| Online Status |
Offline
|
| Date Last Visited |
01-09-2024
12:35 AM
|