POST
|
Hi My print widget would not print secured layers. Works perfect with public layers & Images . When i add a secured layer it would not print, creates an error saying "en error occurred while exporting the we b map". My secured services( Arcgis Server 10.8 ) are going through Dotnet proxy. Print services are also goes through the same proxy. I am using ArcgisJavascript 4.17 API. I have completed the below steps too. https://enterprise.arcgis.com/en/server/latest/create-web-apps/windows/printing-maps-that-contain-secured-services.htm Arcgis Server log: Error executing tool. Export Web Map : Layer "xxxxxxxxxxxxxxxxx": Failed to create layer from service at https://xxxxxxxx/arcgis/rest/services/sWebQuery/xxxxxxxx/MapServer/0. Failed to execute (ExportWebMap). Failed to execute (Export Web Map) Any help would be highly appreciated. Thanks
... View more
12-06-2020
08:07 AM
|
0
|
0
|
296
|
POST
|
Hi I need to show different amount of attributes in popuptemplate for different layers. How can I control the size of the poptemplate for different layers in the map. I am using API 4.17
... View more
11-28-2020
05:59 AM
|
1
|
0
|
324
|
POST
|
I have a MapImageLayer with 3 sublayers as fallows. But the sublayers are not available to toggle its visibilty in layerlist widget. Can some one help please: ZoniningLayer = new MapImageLayer({
id:"ZoningLayer",
url: urlZoning,
sublayers: [{
title: "Commercial",
id: 2,
visible: true,
listMode: "show",
popupTemplate: {
title: "{PERMIT}",
content: "{COV}"
}
}, {
title: "Residential",
id: 1,
visible: true,
listMode: "show",
popupTemplate: {
title: "{DES}",
content: "{MAX}"
}
}, {
title: "Streets",
id: 0,
visible: true,
listMode: "show",
popupTemplate: {
title: "{PERMIT}",
content: "{COV}"
}
}
]
});
var layerList = new LayerList({
view: app.view
});
app.view.ui.add(layerList, {
position: "top-right"
});
layerlist dont show sublayer visibilty toggle
... View more
11-25-2020
01:38 AM
|
0
|
0
|
287
|
POST
|
How can I display the image's title on both side of the view while at swipe
... View more
11-14-2020
11:29 PM
|
0
|
2
|
971
|
POST
|
Hi How can I listen to the the event as soon as "stop tracking the location" button (pause) is clicked on the Track widget in 4.17 My requirement is to remove some graphics on the tracking is stopped. Thanks.
... View more
11-09-2020
08:52 AM
|
0
|
1
|
634
|
POST
|
Hi Can I customize the Coordinate Conversion Widget to display only BASEMAP & XY Coordinates and remove the rest from the default conversion options in 4.17 Thanks
... View more
11-02-2020
10:49 PM
|
0
|
2
|
1248
|
POST
|
Thank you again, Still did not work . I used the traditional way to find out the length of a line √((x_2-x_1)²+(y_2-y_1)²)
... View more
10-30-2020
12:48 PM
|
0
|
0
|
1612
|
POST
|
Thanks. This is what I think I am doing. But keep getting error : "The operation cannot be performed on a non-simple geometry." function graphicDimension(resultGraphic) {
require(["esri/geometry/Polyline",
"esri/tasks/support/LengthsParameters", "esri/tasks/GeometryService", "esri/geometry/Point"],
function (Polyline, LengthsParameters, GeometryService, Point) {
for (i = 0; i < resultGraphic.geometry.rings.length; i++) { // value 1 polygon
for (j = 0; j < resultGraphic.geometry.rings[i].length; j++) { //value 6 points
fromPoint = new Point (resultGraphic.geometry.rings[i][j]);
toPoint = new Point( resultGraphic.geometry.rings[i][j + 1]);
//console.log(fromPoint, toPoint);
paths = [
[fromPoint.x, fromPoint.y],
[toPoint.x, toPoint.y]
]
polyLine = new Polyline({
paths: [paths],
spatialReference: app.view.spatialReference
});
lengthParams = new LengthsParameters();
lengthParams.calculationType = "geodesic";
lengthParams.geodesic = true;
lengthParams.polylines = [polyLine];
lengthParams.lengthUnit = "METER";
geomSerVice = new GeometryService(geometryServiceUrl);
geomSerVice.lengths(lengthParams, function (result) {
console.log(result.lengths[0]);
alert("length");
});
// debugger;
}
}
});
};
... View more
10-27-2020
11:14 PM
|
0
|
1
|
1612
|
POST
|
Hi All Greetings How can I find the length of sides of a polygon ( Not Perimeter of the polygon). Is the following right approach or is there any simpler approach please ? 1. find the number of rings in the polygon 2. loop through them 3. calculate length from the start point to end point Thank you
... View more
10-27-2020
02:02 AM
|
0
|
4
|
1686
|
POST
|
Swap widget (4.16) is working fine. When finished, I want to give the user an option to remove the swipe and bring then map view as it was before swipe. I tried swipe.visibleElements = {
divider: false,
handle: false // handle will not display
}
swipe.destroy(); . Still the handle and divider are visible. How can I remove the swipe and refresh the view please/ Thanks.
... View more
10-15-2020
11:56 AM
|
1
|
1
|
876
|
POST
|
Hi The expand widget in 4.16 works fine in normal large view. But brings a drawer like panel when the screen size is small (Mobile Display). I want to keep the same normal expand irrespective of the screen size. how can i make it please.
... View more
10-13-2020
09:50 AM
|
0
|
2
|
1180
|
POST
|
Hi I want to return only few Attribute fields of the feature instead of All the fields as it makes the query slower. In Android SDk 10.xx there was a way to limit the outfields by Query query = new Query();
query.setOutFields(new String[] {"Filed1", "Field2"}); In 100.x the QueryParameters has no such method as setOutfields. how can I do this please !! Thanks
... View more
08-04-2018
11:42 PM
|
0
|
1
|
1185
|
POST
|
How can I return only specif fields instead of Load_ALL. final ListenableFuture<FeatureQueryResult> future =
myTable.queryFeaturesAsync(query, ServiceFeatureTable.QueryFeatureFields.?????);
Thanks;
... View more
07-22-2018
01:26 AM
|
0
|
0
|
396
|
POST
|
No Not yet ..Did not make the webadator yet...may be i will install and come back.
... View more
03-01-2018
07:39 AM
|
1
|
0
|
307
|
Title | Kudos | Posted |
---|---|---|
1 | 10-15-2020 11:56 AM | |
2 | 10-24-2022 03:27 AM | |
1 | 11-28-2020 05:59 AM | |
1 | 02-21-2018 11:53 PM | |
1 | 03-01-2018 07:39 AM |
Online Status |
Offline
|
Date Last Visited |
2 weeks ago
|