2 votes
Accepted

Adding items to the Calcite-Split-Button in ESRI ArcGIS API for Javascript

If you look at the official ArcGIS example at https://developers.arcgis.com/calcite-design-system/components/split-button/, you'll see that structure of button is completely different from what are ...
TomazicM's user avatar
  • 25.2k
1 vote

ArcGIS JS API RasterShaderReliefRenderer does not color full range of DEM elevation values

This is not really a solution, just some findings that show there might be something wrong with the way that RasterShadedReliefRenderer interprets ImageryLayer. If in ImageryLayer creation instead of ...
TomazicM's user avatar
  • 25.2k
1 vote
Accepted

Choosing colors for highlight in ArcGIS JS API?

You can get current select color from view.highlightOptions.color property and you can set select color by changing value of this property. Code below increments current blue channel of select color ...
TomazicM's user avatar
  • 25.2k
1 vote
Accepted

Render a Legend for a FeatureLayer that is not present on the map in ArcGIS JS API

Sorry, I was wrong in my comment. The widget documentation was a bit misleading. The important info is at https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend.html#...
Bjorn Svensson's user avatar
1 vote

Is it possible to use base maps while authorizing via ArcGIS tokens?

You can use esriConfig.apiKey for authentication (see https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#apiKey). Here is an example of how it is used: require([ "...
TomazicM's user avatar
  • 25.2k
1 vote

Using ArcGIS Maps SDK for JavaScript print widget with tile layer

Without event taking into consideration printing, you code above is total mess and can't work in any way. First, your layer baseLayer = new TileLayer({ url: "https://sampleserver6.arcgisonline....
TomazicM's user avatar
  • 25.2k

Only top scored, non community-wiki answers of a minimum length are eligible