laptop and a wrench

Bug

The BasemapToggle widget does not show the title of basemaps when the 'titleVisible' property is true in ArcGIS API for JavaScript 4.3.

Last Published: August 29, 2017 ArcGIS API for JavaScript
Bug ID Number BUG-000105956
SubmittedJune 21, 2017
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found4.3
Operating SystemWindows OS
Operating System Version7.0 64 Bit
Version Fixed4.5
StatusFixed

Workaround

<a href="https://jsbin.com/qaxedek/edit?html,output" target="_blank">https://jsbin.com/qaxedek/edit?html,output</a>Use a jQuery selector and update the CSS class. ExamplesetTimeout(function() { $( '#viewDiv > div > div.esri-ui > div.esri-ui-inner-container.esri-ui-corner-container > div.esri-ui-top-right.esri-ui-corner > div > div:nth-child(1) > div.esri-basemap-thumbnail__overlay.esri-basemap-toggle__image-overlay > span' ).removeClass('esri-basemap-thumbnail__title').addClass('esri-basemap-toggle__title esri-basemap-toggle__title--visible'); }, 500);

Steps to Reproduce

Bug ID: BUG-000105956

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options