|
POST
|
You would need to refresh the token when it expires. You could create a long term token so that the switch happens less frequently.
... View more
09-20-2019
10:56 AM
|
2
|
2
|
6007
|
|
POST
|
The IdentityManager handles authentication in the JavaScript API. You can register a token using this method
... View more
09-20-2019
08:09 AM
|
2
|
5
|
6007
|
|
POST
|
"Besides editing, feature services also provide the option to dynamically set symbology for features at the client side. Map services essentially provide images pre-symbolized at the server side - either as pre-cached tiles or as dynamically generated images made from an exportmap request. Map services can be cached in order for data to render quickly. That's why basemaps are generally cached map services, while feature layers that render on top of basemaps can be either from a mapserver resource or a featureserver resource." From https://community.esri.com/thread/203601-feature-service-vs-map-service
... View more
09-12-2019
10:35 AM
|
0
|
0
|
4079
|
|
POST
|
This is how I would turn on clustering var layer = new FeatureLayer(serviceUrl, {
featureReduction: {
type: "cluster"
}
}) Here is a simple sample to demonstrate the code above
... View more
09-11-2019
10:28 AM
|
0
|
0
|
3314
|
|
POST
|
Here is a sample using a 3D line to help you get started
... View more
09-11-2019
09:56 AM
|
1
|
0
|
958
|
|
POST
|
Hi Aditya, Here are some samples for clustering in 3x: Point clustering | ArcGIS API for JavaScript 3.29 Toggle point clustering | ArcGIS API for JavaScript 3.29
... View more
09-10-2019
11:00 AM
|
1
|
4
|
3314
|
|
POST
|
The workflow would be saving the value of the camera before switching maps var cam = view.camera; Then setting it for the new map view.camera = cam; I did the same thing with extent in the sample
... View more
09-10-2019
10:36 AM
|
0
|
0
|
504
|
|
POST
|
Alternatively, you could create overlapping symbols of different colors, and then toggle their opacity when you want to switch.
... View more
09-09-2019
08:37 AM
|
0
|
0
|
3379
|
|
POST
|
A solution was provided in this thread You may have to update the code, but the workflow would remain the same.
... View more
09-06-2019
02:23 PM
|
0
|
1
|
792
|
|
POST
|
Have you tried wrapping the removeImage in a update-end event handler?
... View more
09-06-2019
01:41 PM
|
0
|
3
|
1522
|
|
POST
|
Robert Scheitlin, GISP provided a solution in this thread: https://community.esri.com/thread/239738-multiple-layerlists-in-web-app
... View more
09-05-2019
01:45 PM
|
0
|
0
|
1664
|
|
POST
|
I also suggest using TextSymbols. Here is a good sample to get you started
... View more
09-05-2019
09:51 AM
|
1
|
2
|
3379
|
|
POST
|
If this is a python issue I suggest posting in that community so someone knowledgeable on the topic can assist you. https://community.esri.com/community/developers/gis-developers/python/overview
... View more
09-04-2019
11:01 AM
|
0
|
0
|
740
|
|
POST
|
This link shows the scale for each level of zoom: Web map zoom levels
... View more
09-03-2019
03:53 PM
|
1
|
1
|
3247
|
|
POST
|
Here is a short sample that shows switching layers based on the scale: https://codepen.io/benesri/pen/MWgOYjy Zoom in to switch.
... View more
09-03-2019
02:33 PM
|
0
|
3
|
3247
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-22-2021 10:22 AM | |
| 1 | 01-19-2023 11:10 AM | |
| 1 | 08-30-2022 04:09 PM | |
| 2 | 08-22-2022 03:20 PM | |
| 1 | 08-22-2022 03:57 PM |
| Online Status |
Offline
|
| Date Last Visited |
02-03-2023
03:22 AM
|