POST
|
1) Go to the ArcGIS server admin console https://domain/arcgis/admin/login 2) Services -> Your_Service - > edit the scales in the text box and then click Save Edits
... View more
11-26-2024
09:03 AM
|
0
|
0
|
206
|
POST
|
I am trying to create labels in ArcGIS Pro to publish to an ArcGIS Online Vector Tile Layer. Does ESRI have any documentation as to what Label Expression code complexity is allowed in ArcGIS Pro? All of the Arcade Label Expression code I have used works great to view a map in the online Map Viewer, but it will not print. I just get a blank map. You would think that if you could view the label in the vector tile layer, that it would be printable as well. That's not the case.
... View more
06-02-2024
01:27 PM
|
0
|
1
|
537
|
POST
|
I am using the "print" task. Not to be confused with the print widget. import * as print from "@ArcGIS/core/rest/print.js"; The documentation says this: If the application and the print service are on the same origin, the name of the downloadable file can be customized with the fileName or title properties. If not, the name of the downloadable file will be generated by the ArcGIS Enterprise that hosts the print service. But there is not a property called fileName or title on print. On the print widget, I saw TemplateOptions which had this property, but not on print. How do I set the download filename???
... View more
12-02-2023
06:39 AM
|
1
|
2
|
956
|
POST
|
Users forget to toggle the Capture mode off on the Coordinate widget and then they click a button to hide the Coordinate widget. After that the click event on the map is stuck in capture coordinate location mode.
... View more
11-27-2023
11:09 AM
|
0
|
0
|
607
|
POST
|
When in "Capture" mode on the Coordinate Conversion widget and then removing the widget from the UI, how do you disable the widget from continuing to capture map click points? I would like to change the mode back to "Live" mode without having to click the toggle button on the widget to disable it. I know I can destroy the widget, but that is not ideal. View.ui.remove(coordinate_conversion_widget)
... View more
11-22-2023
03:06 PM
|
0
|
3
|
715
|
POST
|
Yep, I'm using 4.28. I was able to change the icon hover color with css, just not the hover background.
... View more
10-26-2023
03:25 PM
|
0
|
0
|
747
|
POST
|
In a .css file, how do you set the hover background color for the Compass widget? calcite-button.esri-widget--button:hover {
--calcite-ui-???: red;
}
... View more
10-25-2023
11:35 AM
|
0
|
3
|
799
|
POST
|
I don't think it is possible, but is there some workaround to be compliant with the federal ADA law for the meta viewport in the SDK? All of the ESRI sample code looks like this which is not compliant: meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no"
... View more
10-02-2023
08:09 AM
|
0
|
0
|
411
|
POST
|
When I try to use ES modules with the JavaScript SDK in a Node.js project, I get lots of the following error. If I use the CommonJS module system everything works fine. My configuration files are show below. How do I fix this problem? Unable to create map view. ChunkLoadError: Loading chunk vendors-node_modules_arcgis_core_views_navigation_PanPlanarMomentumEstimator_js-node_modules_-6bde0d failed. tsconfig.json: { "compilerOptions": { "module": "ES2020", "moduleResolution": "Bundler", "target": "ES2020", "sourceMap": true, "esModuleInterop": true, "noEmitOnError": true, "jsx": "react", "skipLibCheck": true }, "exclude": [ "node_modules", ] } package.json: { "name": "test_sdk", "type": "module", "version": "0.0.0", "description": "Test", "main": "index.js", "devDependencies": { "@arcgis/core": "^4.27.6", "@auth0/auth0-spa-js": "^2.1.0", "@emotion/react": "^11.11.1", "@emotion/styled": "^11.11.0", "@material-ui/types": "^5.1.0", "@mui/material": "^5.13.6", "@types/node": "^14.18.53", "@types/react": "^18.2.14", "@types/react-dom": "^18.2.6", "express": "^4.18.2", "path": "^0.12.7", "react": "^18.2.0", "react-dom": "^18.2.0", "ts-loader": "^9.4.4", "typescript": "^5.1.6", "webpack": "^5.88.1", "webpack-cli": "^5.1.4", "webpack-node-externals": "^3.0.0" }, "scripts": { "build": "webpack-cli --config webpack.config.js", } } webpack.config.js: export default { target: "web", entry: "./Default.ts", mode: "development", devtool: "source-map", output: { filename: "./app-bundle.js", devtoolModuleFilenameTemplate: '[resource-path]' }, resolve: { extensions: ['.ts', '.js', '.jsx', '.tsx'] }, module: { rules: [ { test: /\.tsx$|ts/, exclude: /node_modules/, use: { loader: 'ts-loader' } } ] } };
... View more
09-26-2023
10:10 AM
|
0
|
1
|
2612
|
POST
|
Is there a way to dynamically import more than one module at a time?
... View more
09-11-2023
08:01 AM
|
0
|
0
|
1388
|
IDEA
|
In version 4.15 of the JavaScript API feature layer labels on polylines are repeated about every 1 1/2 inch on the screen. This looks really goofy when labeling lot dimensions. They worked fine at version 4.14 when they were repeated about every 4 inches or so. It would also be nice if they could be positioned above the line instead of directly on top of it which hides the line.
... View more
06-02-2020
06:16 AM
|
1
|
0
|
455
|
POST
|
Thanks for the info Noah. I submitted a ticket with ESRI technical support.
... View more
10-11-2019
04:28 PM
|
1
|
0
|
845
|
POST
|
I just upgraded from the 4.12 version of the JavaScript API to version 4.13. The new version fixed many issues I was having with feature layer labels which is great. However, now at 4.13 I have two feature layers that crash the print task, one feature layer that prints as orange dashed lines instead of solid white lines, and yet another feature layer that crashes the legend widget. My question is if there is a best practice video for how to create feature layers that are compatible with the javascript API?
... View more
10-10-2019
06:47 PM
|
0
|
2
|
927
|
POST
|
@Ben Elan - ESRI support says this is not possible without downloading the API javascript and hacking it, so I have given up on doing this.
... View more
08-23-2019
11:42 AM
|
0
|
1
|
1977
|
POST
|
Is there any way to change the mouse cursor on the map after activating the SketchViewModel in the latest version of the javascript API? I tried doing it with css with no luck. viewDiv.style.cursor = "default";
... View more
08-22-2019
01:35 PM
|
1
|
3
|
2102
|
Title | Kudos | Posted |
---|---|---|
1 | 12-02-2023 06:39 AM | |
1 | 07-07-2018 01:59 PM | |
1 | 08-22-2019 01:35 PM | |
1 | 06-02-2020 06:16 AM | |
1 | 10-11-2019 04:28 PM |
Online Status |
Offline
|
Date Last Visited |
a month ago
|