Web maps published from ArcGIS Pro 2.0 do not show labels when consumed in a web app.
Last Published: January 7, 2019ArcGIS Online
Bug ID Number
BUG-000109217
Submitted
October 31, 2017
Last Modified
February 14, 2025
Applies to
ArcGIS Online
Version found
5.3
Status
Non-Reproducible
This issue was not reproducible when tested by the development team. Issues may be given this status when they cannot be reproduced or are no longer relevant in a development version of the software, but a specific fix was not installed to address the issue. The issue's Additional Information section may contain further explanation.
Additional Information
This is user error, need to add in mapOptions when creating the Map, see this snippet,
var createMapOptions = {
mapOptions: {
showLabels: true
}
};
//if accessing webmap from a portal outside of ArcGIS Online, uncomment and replace path with portal URL
//arcgisUtils.arcgisUrl = "https://pathto/portal/sharing/content/items";
arcgisUtils.createMap("aea3672f86ba41fa8c205997b5f5cb98", "map", createMapOptions).then(function (response) {