|
POST
|
You could have some UI, like a dropdown that would change the layer property on the table. https://codepen.io/odoe/pen/oNqQopB?editors=1000
... View more
08-16-2022
07:18 AM
|
0
|
1
|
1259
|
|
POST
|
You can still do that via the input of the widget. Here is a project we did the UC precon showing how this takes the feature of a Popup and uses it as the input for the ElevationProfile. https://github.com/EsriPS/building-stunning-webapps-2022/blob/4-state-and-map/src/data/map.js#L107-L119
... View more
08-12-2022
10:18 AM
|
0
|
4
|
2592
|
|
POST
|
You can accomplish this with visible elements. https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile.html#visibleElements const elevationProfile = new ElevationProfile({
profiles: [
{
type: 'input',
},
{
type: 'ground',
},
],
visibleElements: {
legend: false,
clearButton: false,
settingsButton: false,
sketchButton: false,
selectButton: false,
uniformChartScalingToggle: true,
},
}); And you can get just the profile like this. I've done this to add the ElevationProfile to the Popup.
... View more
08-12-2022
09:13 AM
|
1
|
6
|
2601
|
|
POST
|
reactiveUtils doesn't have a default export, so you can do one of two things. // import all methods
import * as rU from "@arcgis/core/core/reactiveUtils";
// only import the method you're interested in
import { watch } from "@arcgis/core/core/reactiveUtils";
... View more
08-12-2022
06:56 AM
|
0
|
1
|
3716
|
|
POST
|
That's an old sample. I would try a couple of things. Set outFields of layer to ["*"] Or set outFields of query to ["*"] I suspect the fields are not in the query results, so you need to ask for them all.
... View more
08-10-2022
02:27 PM
|
0
|
1
|
1848
|
|
POST
|
If you look at the network traffic in browser dev tools can tell where it's trying to load the resource from? Sounds like it might be a path issue. This can vary based on how you are building your app, CDN, or NPM, and what tools you are using.
... View more
08-09-2022
09:32 AM
|
0
|
0
|
2528
|
|
POST
|
Esri doesn't have a React Native SDK. They wouldn't be implemented in JavaScript. There is also this community project that wraps the Runtime SDK with React Native components. https://github.com/glazou/react-native-arcgis-sdk-demo But again, these are not official libraries and are not supported.
... View more
08-08-2022
06:47 AM
|
0
|
0
|
6989
|
|
POST
|
In 3x, if a Graphic is aggregate, a cluster graphic, it has a method called getChildGraphics you can. use. https://developers.arcgis.com/javascript/3/jsapi/graphic-amd.html#getchildgraphics I have an old blog post from 2017 that might still be useful for 3x here. https://odoe.net/blog/interactive-clusters-arcgis-api-javascript
... View more
08-05-2022
07:57 AM
|
0
|
1
|
936
|
|
POST
|
Make these changes in your vue file. Your MapView was referencing the div className, and it had no id. <div id="viewDiv" class="mapdiv"></div>
const view = new MapView({
map: map,
container: "viewDiv",
center: [-118.244, 34.052],
zoom: 12
}); You might also need to change the browserlist in the package.json. This is what we support. "browserslist": [
"last 1 Chrome version",
"last 1 Firefox version",
"last 2 Edge major versions",
"last 2 Safari major versions",
"last 2 iOS major versions",
"Firefox ESR"
] Plus, I don't the assets are copied correctly in a production build, they should be in the public folder to get copied in a build, but if you don't use local assets, you don't need to worry about it.
... View more
08-04-2022
11:31 AM
|
0
|
1
|
2948
|
|
POST
|
Do you need to have the assets copied locally? Looks like something in the build is causing an issue there. You can remove the config.assetsPath part and load the assets from the CDN. Everything seems to work after that.
... View more
08-04-2022
11:08 AM
|
0
|
3
|
2952
|
|
POST
|
When creating the Point with x/y, you also need to set the spatialReference. If you know the SR matches the the map, you can use view.SpatialReference. geometry: new Point({
x: event.value.x, y: event.value.y,
spatialReference: view.spatialReference // set sr of Point
}),
... View more
08-04-2022
10:13 AM
|
0
|
0
|
1542
|
|
POST
|
Can you break this down to simpler reproducible sample without routing, auth and environment variables in a github repo? Can't tell from what you've posted. Only Vue2 app I have is this one, but it's a few years old and not sure it works anymore. It could be something in the dependencies or some other unknown. https://github.com/odoe/jsapi-vue-template
... View more
08-04-2022
09:36 AM
|
0
|
0
|
2968
|
|
POST
|
One of the options for the geometryEngine buffer is unionResults https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#buffer This will return a single buffer geometry for all the geometries buffered and you can use that in the filter.
... View more
08-03-2022
03:08 PM
|
1
|
1
|
2119
|
|
POST
|
Without user interaction for ArcGIS Online, no. The user has to log in at least once, then they can return to the page without having to log in again. Online defaults to two-week credentials I believe. https://community.esri.com/t5/arcgis-api-for-javascript-videos/identitymanager-in-the-arcgis-api-for-javascript/m-p/1191710#M21
... View more
08-01-2022
08:31 AM
|
0
|
0
|
811
|
|
POST
|
It looks like you are trying to use 4x syntax in a 3x app. The FeatureLayer API in 3x is slightly different. You can just pass the URL. https://developers.arcgis.com/javascript/3/jsapi/featurelayer-amd.html#featurelayer1 If you have the itemId, you can get the item and get the URL off of that https://developers.arcgis.com/javascript/3/jsapi/esri.arcgis.utils-amd.html#getitem
... View more
08-01-2022
08:27 AM
|
0
|
0
|
1276
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 2 | 3 weeks ago | |
| 1 | 02-27-2026 06:31 AM | |
| 1 | 01-13-2026 02:15 PM | |
| 1 | 12-31-2025 09:05 AM |
| Online Status |
Online
|
| Date Last Visited |
an hour ago
|