Select to view content in your preferred language

Sketch component is abnormal in Linux

388
1
10-26-2023 06:31 PM
HHAO
by
Emerging Contributor

When I used the ArcGIS API for JS packaging in the Vue project, the sketch component would become invalid when I put it into the Linux system. The toolbar is visible but the tools used (such as drawing points, lines, and faces) cannot be seen, but the same dist package is normal in the window. What is the reason for this?

HHAO_0-1698370277402.png

 

 

0 Kudos
1 Reply
AndyGup
Esri Regular Contributor

Hi @HHAO, did you get any developer console warnings or errors? Can you reproduce this in a vanilla JS app: https://developers.arcgis.com/javascript/latest/sample-code/sketch-geometries/.

If you can't reproduce this in a vanilla JS app, please provide a simple, working github repo, Stackblitz or codesandbox. Here's an example Vue app using "@arcgis/core" that's also a good starting point: https://github.com/Esri/jsapi-resources/tree/main/esm-samples/jsapi-vue.

And, we'll also need the full OS output for the Linux box, e.g. cat /etc/os-release.

0 Kudos