POST
|
Hello, I can't find the wellKnownID for basemap "Human Geography Dark Map". It's automatically added in the basemapgallery widget but I need to load only a subset of all basemaps: basemapGallery = new BasemapGallery({
view: app.activeView,
container: document.createElement("div"),
source: [Basemap.fromId("satellite"), Basemap.fromId("osm"), Basemap.fromId("hybrid"), Basemap.fromId("topo"), Basemap.fromId("dark-gray"), Basemap.fromId("gray"), Basemap.fromId("???human-dark-gray???")],
activeBasemap: basemap
}); Can someone help me? Thank you, Davide
... View more
06-03-2021
02:32 AM
|
0
|
1
|
487
|
POST
|
Hello, I am working with map services in a dynamic workspace and API 3.x. Here i have my code to add layers to my map: var dataSource = new RasterDataSource(); dataSource.workspaceId = workSpaceId; dataSource.dataSourceName = mydataSourceName ; var layerSource = new LayerDataSource(); layerSource.dataSource = dataSource; var dynamicLayerInfos = []; var dynamicLayerInfo = new DynamicLayerInfo(); dynamicLayerInfo.id = 0; dynamicLayerInfo.source = layerSource; dynamicLayerInfos.push(dynamicLayerInfo); var layer= new ArcGISDynamicMapServiceLayer(myurl) map.addLayer(layer); this is working perfectly. Now I need to set a renderer for my layer. I think i should do something like this: var layerDrawingOptions = []; var layerDrawingOption = new LayerDrawingOptions(); layerDrawingOption.renderer = ???? layerDrawingOptions.push(layerDrawingOption); layer.setLayerDrawingOptions(layerDrawingOptions); But i don't know what class of renderer i should use for rasters. ClassBreaksRenderer?UniqueValueRenderer? Any help? Thanks
... View more
09-21-2019
05:48 AM
|
0
|
0
|
201
|
POST
|
Hello, I have developed a feature action to open graphs related to clicked feature. At the moment I open the graph in a panel, and i can open just one graph at a time. Is it possible to open many panels from a feature action? What is a possible solution to show more graphs at the same time?. Thanks
... View more
08-01-2019
09:29 AM
|
0
|
1
|
536
|
POST
|
Hello everyone, give a look at this sample: API 4.8 It just adds a Tile layer to a LayerList widget (with api 4.8) and everything looks fine. If you switch to 4.9 (API 4.9) you can see a totally different behaviour. It looks like that the tile layer becomes a group layer and every single sub layer is added as a layer. I don't think this is the intended behaviour. Is it a bug? Thanks, Davide
... View more
12-04-2018
05:57 AM
|
0
|
2
|
510
|
POST
|
Something like this maybe: Toggle Feature Layer Davide
... View more
07-23-2018
07:22 AM
|
2
|
0
|
917
|
POST
|
Hi Abebe, check the VisibilityMode of your sublayers. It should be "independent" and not "inherited". Davide
... View more
07-09-2018
09:12 AM
|
1
|
1
|
3411
|
POST
|
Hello Matt, thanks for you answer. Please let me know because i need to know as soon as possibile if i can switch my application to 4.7 /4.8 or otherwise if i am stuck at 4.6. I strongly need to combine LayerList and Legend widget and the funcionality is not present in 4.6... Regards, Davide
... View more
06-20-2018
12:21 AM
|
0
|
1
|
3411
|
POST
|
Hello everyone, I have a big project with API 4.6 that is based on updates of LayerList Widget. I have found a big difference in the behaviour from 4.6 to 4.7. Look at this sample: JS Bin - Collaborative JavaScript Debugging After 5 seconds all layers in map are removed. With API 4.6 the LayerList widget is completely cleaned, with 4.7 no, some layers / group layers are still there. I know that 4.8 aren't officially released yet, but with 4.8 the behaviour is even different from 4.6 and 4.7...... Is this a bug? Is there some way to completely refresh LayerList widget after removing all layers from the map? Thank you, Davide
... View more
06-19-2018
07:32 AM
|
0
|
8
|
4127
|
POST
|
Hello Kristian, I have just noticed that the problem is still present in 4.5... Any update on it? Thanks, Davide
... View more
10-02-2017
01:00 AM
|
0
|
1
|
443
|
POST
|
Hello, in 3.x "esri/dijiit/Popup" there are properties markerSymbol , lineSymbol and fillSymbol to highlight features. How can i achieve the same behavior with 4.x APIs? I can't find these propertiesin "esri/widgets/Popup" Thanks Davide
... View more
08-23-2017
06:34 AM
|
0
|
1
|
1277
|
POST
|
Hello GeoNet, i have a problem with API 4.4 and TileLayers. See the example: JS Bin - Collaborative JavaScript Debugging if you zoom very fast to the layer ( with SHIFT + extent selection) you have a very weird visualization: In 4.3 the problem is not present... at least, you can see just a fast flash In 4.5 it would be great if this sort of "halo" could be not present at all. Thanks Davide
... View more
07-28-2017
04:31 AM
|
1
|
4
|
780
|
POST
|
Waiting for the BusyIndicator, this can be easily achieved watching the property "updating" of your view and dojo Toggler loading = new Toggler({ node: "loadingImg" }); app.mapView.watch("updating", function (updating) { updatingViewChange(updating); }); function updatingViewChange(updating) { if (updating) { loading.show(); } else { loading.hide(); } }
... View more
04-11-2017
02:05 AM
|
3
|
0
|
3390
|
POST
|
Thank you so much Xander, it was very helpful. Reading your answer another small question comes to my mind. With arcobjects i have never had the necessity to use tools inside my c# code, because all functionalities were available inside arcobjects. Now i see that in proObjects some basic functionality, like adding an index, are just available with tools. Is this just a temporary condition or it is a long run choice? Thank you, Davide
... View more
07-29-2016
01:04 AM
|
0
|
1
|
348
|
POST
|
Hi guys, I would like to add an index to a field in a shapefile. I know that i can get all existing indexes through IReadOnlyList<Index> idd = featClassDefinition.GetIndexes(); but i haven't been able to find a proper way to add a new index to a field. Can anyone help me? Thank you Davide
... View more
07-26-2016
12:54 AM
|
0
|
3
|
1442
|
Title | Kudos | Posted |
---|---|---|
1 | 07-09-2018 09:12 AM | |
1 | 08-03-2015 01:59 AM | |
2 | 07-23-2018 07:22 AM | |
1 | 07-28-2017 04:31 AM | |
3 | 04-11-2017 02:05 AM |
Online Status |
Offline
|
Date Last Visited |
06-03-2021
11:58 AM
|