POST
|
Hello! Recently I´ve migrated my project to use ES Modules to import arcgis js api. My problem is with BasemapToggle widget, it seems to be working correctly but it doesn´t load the images under /assets/esri/images/basemap and display blank divs. (images attached) My project url which I am using Arcgis maps is: http://localhost/first/second Under devTools inspection I´ve noticed that the url generated is: background-image: url("http://localhots/first/assets/esri/images/basemap/hybrid.jpg") If I change manually to the below, the images load correctly: background-image: url("http://localhots/assets/esri/images/basemap/hybrid.jpg") My assestsPath is: config.assetsPath = '/assets'; Any help would be appreciated! Thanks.
... View more
03-01-2021
12:51 PM
|
0
|
0
|
584
|
POST
|
Hi Mark! This should do the work, I was just wondering if the arcgis java lib had something more out of the box solution like a function call with two points parameter. Thanks for the time to answer my post!
... View more
10-08-2020
04:29 AM
|
0
|
1
|
1055
|
POST
|
Hello! I was investigating the word-elevation layer provided to the scene view on Javascript API and accordingly to the documentation (https://www.arcgis.com/home/item.html?id=7029fb60158543ad845c7e1527af11e4 ) it was created on 2014 and last updated on 2020. My question is: how can I check the date (or last update date) for a terrain elevation data on a specific location? Also can I determine this for the satellite photo? While browsing my application I have noticed that some areas are outdated, and would be nice to mitigate this issue. A follow up question would be how can I add more data or other sources of information regarding terrain elevation in order to complement this gap of outdated data? Any insight would be highly appreciated! Thanks!
... View more
10-06-2020
04:42 AM
|
0
|
0
|
585
|
POST
|
Hello community, I am currently working with lines on a Java application that requires some geometry processing such the bearing of this line and also the midpoint. I was browsing the API and couldn't find any implementation of those by myself. There are functions for this that I am missing? Thanks!
... View more
10-06-2020
04:17 AM
|
0
|
3
|
1104
|
POST
|
Hello, i would like to know if there is a way to generate a geometry like the red one above. I'm currently using ArcGIS JS, and didn't find any information about this type of symbol (circumference arc). I need something like this: Geodesic sector and ellipse | ArcGIS for Developers
... View more
08-03-2020
08:24 AM
|
0
|
0
|
452
|
POST
|
For anyone having the same issue, I solved with this: sudo apt update
sudo apt install libgl1-mesa-glx
... View more
07-23-2020
07:47 AM
|
0
|
0
|
1425
|
POST
|
Hello! I have followed this tutorial (Get the SDK—ArcGIS Runtime SDK for Java | ArcGIS for Developers ) to setup with maven the ArcGis SDK on my local environment and it is working fine. I am trying to deploy this application on an EC2 server from AWS. I can generate the .jar with "mvn clean install" and execute it on server with "java -jar <name>.jar". I have also sent the files generated from dependency:unpack to the server, and added them to /home/<user>/.arcgis and also to the folder that my application is running. However, when I try to use functionalities that depends on arcgis I get the error: java.lang.UnsatisfiedLinkError: /var/www/u/jniLibs/LX64/libruntimecore_java.so: libGL.so.1: cannot open shared object file: No such file or directory This file exists on this path, and if I give all permissions to this folder with chmod the error is: java.lang.NoClassDefFoundError: Could not initialize class com.esri.arcgisruntime.geometry.SpatialReferences How can I fix this? Thanks!!
... View more
07-23-2020
06:28 AM
|
0
|
1
|
1516
|
POST
|
Hello, I have noticed that when I extrude a geometry and use elevationInfo as "relative-to-ground" it will follow the elevation only for the points that defines this geometry. Visually my problem is on the image bellow. The yellow geometry is a ring the is being extruded and it`s border can follow ground elevation, however there is a higher elevation between extremities that is piercing through. I would like to know if this is a know issue, or if I am missing some configuration for my layer. Thanks!!
... View more
07-02-2020
05:51 AM
|
0
|
2
|
923
|
POST
|
There is a Circle geometry on documentation. It is a subclass of polygon but I don`t understand why SketchViewModel returns a polyon with lots of points instead of a Circle when drawing tool is set to 'circle'. Thanks for the response, I will try to compute this distance!
... View more
06-02-2020
04:25 AM
|
0
|
1
|
1203
|
POST
|
Hello, I am using SketchViewModel to create geometries into my Scene View. It seems to be working fine, however I ´ve noticed that when using the tool to draw a circle the graphic on the "create" event is a Polygon. It consists of one ring with many points on it. I needed to get the radius and center point of this created geometry. I can get the center of it, but since it´s a polygon i couldn´t find the radius of it. There is any way of converting this polygon to a circle? Or to retrieve a Circle geometry when using 'circle' as drawing tool? Or should I just use another strategy for drawing circles? Thanks!
... View more
06-01-2020
12:49 PM
|
0
|
3
|
1266
|
Online Status |
Offline
|
Date Last Visited |
03-02-2021
11:09 AM
|