|
POST
|
It only works for a WebMap, not sure how you would use Bookmarks for layers. This is a better sample for adding to the Bookmarks manually https://developers.arcgis.com/javascript/latest/sample-code/webstylesymbol-2d/ https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Bookmarks-BookmarksViewModel.html#bookmarks https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Bookmarks-BookmarksViewModel.html#methods-summary
... View more
08-29-2022
08:59 AM
|
0
|
6
|
3204
|
|
POST
|
This is all built in to the Bookmarks widget. https://developers.arcgis.com/javascript/latest/sample-code/widgets-bookmarks/ You could even save them to localStorage if you don't want to save them back to the WebMap (outdated) https://codepen.io/odoe/pen/QxrEVX?editors=0010 This samples is better for local adding of bookmarks https://developers.arcgis.com/javascript/latest/sample-code/webstylesymbol-2d/
... View more
08-29-2022
07:15 AM
|
0
|
8
|
3224
|
|
POST
|
This isn't a project related to the ArcGIS JSAPI. You might want to try stackoverflow as the github repo for that project no longer exists, so I'm guessing it's no longer maintained.
... View more
08-26-2022
03:26 PM
|
0
|
0
|
1245
|
|
POST
|
Check this video out. It's all in ESM and can be integrated into Angular projects. https://community.esri.com/t5/arcgis-api-for-javascript-videos/identitymanager-in-the-arcgis-api-for-javascript/m-p/1191710#M21 Here's a blog post on the topic too. https://odoe.net/blog/my-secret-arcgis-identity
... View more
08-26-2022
07:28 AM
|
0
|
5
|
4349
|
|
POST
|
Not sure what your workflow looks like, but the select-result event is firing in this sample. https://codepen.io/odoe/pen/yLKWVVm?editors=1001 Do you have a repro? Could be something else going on.
... View more
08-25-2022
07:21 AM
|
1
|
0
|
1137
|
|
POST
|
There isn't anything descriptive about css, because we can change stuff around from release to release. There is some info related to styling, like breakpoints, themes. https://developers.arcgis.com/javascript/latest/styling/
... View more
08-25-2022
07:13 AM
|
0
|
0
|
1354
|
|
POST
|
Correct. If you are using the FeatureLayer strictly as a source to query, you don't need to add it to the map, and push results into a GraphicsLayer. Only what you query is requested. You could also use the definitionExpression of a FeatureLayer to achieve the same result, it just depends on your workflow.
... View more
08-24-2022
10:34 AM
|
1
|
0
|
4849
|
|
POST
|
Your symbol is a simple-fill, that's for polygons, that's why you couldn't see them. Change it to simple-marker and they'll show up. https://codepen.io/odoe/pen/jOzReRb?editors=1000 You can also accomplish this with a definitionExpression on the FeatureLayer, unless the query in your app is done dynamically, and you need the data for something other than display. You could always update the definitionExpression during runtime too. https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#definitionExpression
... View more
08-24-2022
09:13 AM
|
0
|
3
|
4861
|
|
POST
|
Do you have a repro app? It might be something like the calcite css loading after your variables are defined, but can't really tell without looking at something. Ok, so I don't know. I tried this with a regular app using the npm install and calcite and can't override it. Weird, looks like the built code has the values baked in. You might need to try a specific css target or wrap it in a span or div maybe.
... View more
08-22-2022
11:13 AM
|
1
|
0
|
3593
|
|
POST
|
You can do it via the :root css. :root {
--calcite-label-margin-bottom: 100px; /*LOL*/
} That works in a sample I tried it. Might be something with how the framework is loading css too. I would define this in a global css that won't get scoped. https://codepen.io/odoe/pen/ExEMoBg?editors=1000
... View more
08-22-2022
08:46 AM
|
0
|
2
|
3620
|
|
POST
|
That's outside the scope of the ArcGIS JSAPI. You're probably better asking on stackoverflow or a Mongodb specific forum about how to get it to work. Once you can connect and fetch the data, you can integrate it into the ArcGIS JSAPI Popup using a pattern like this sample.
... View more
08-22-2022
07:21 AM
|
0
|
0
|
1381
|
|
POST
|
That link is for the 3D SymbolStyles, you want to use the 2D symbol styles https://developers.arcgis.com/javascript/latest/visualization/symbols-color-ramps/esri-web-style-symbols-2d/ const webStyleSymbol = new WebStyleSymbol({
name: "push-pin-1",
styleName: "Esri2DPointSymbolsStyle"
}); If you want to tweak it a bit, each 2D Web Style Symbol is also available as a CIM Symbol and you can modify the symbology a bit as you need. There's a tab to select the CIM JSON.
... View more
08-19-2022
10:01 AM
|
0
|
0
|
3079
|
|
POST
|
That module is now in the rest/support folder. https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-ProjectParameters.html There should have been some deprecation messages for this in earlier releases
... View more
08-19-2022
08:31 AM
|
0
|
0
|
2105
|
|
POST
|
I'm not sure why it would have broken, but can you try to see if you can get the ObjectIdField directly from the layer? // from the layer if you have it
feature.graphic.attributes[layer.objectIdField]
// from the graphic if it came from a layer
feature.graphic.attributes[feature.graphic.layer.objectIdField] It is possible the the OBJECTID field is not the ObjectID Field of the service you are querying, and your relate query returns empty results. I've seen layers with relationships have a Join_ID field as the oid. I was able to test the executeRelationshipQuery on a sample service and got the expected results, but it's kind of tough to tell what might be happening in your scenario without a repro to look at. Things I would recommend. Use the objectIdField to get the oid as described above. See if you can get the results using the layer.queryRelatedFeatures You can try and check the network traffic between 4.22 and 4.24 and see what the difference might be in the request.
... View more
08-18-2022
07:59 PM
|
0
|
3
|
2164
|
|
POST
|
That field isn't in your results. It's Raster.ClassLabelA, not just ClassLabelA. I don't know if this is a server version difference or Pro publishing update thing, but this is what your results look like now. When you do this check if(clickLayerLabel.length > 0), clickLayerLabel is undefined and your popup never opens.
... View more
08-17-2022
07:43 PM
|
1
|
1
|
1977
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Wednesday | |
| 2 | 05-19-2026 02:12 PM | |
| 1 | 04-24-2026 11:01 AM | |
| 2 | 04-21-2026 07:06 AM | |
| 1 | 02-27-2026 06:31 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|