Map labels didn’t appear in classic map viewer

119
2
Jump to solution
06-01-2022 07:12 AM
chintakandel
New Contributor III

I've created labels in ArcGIS Pro, published to ArcGIS Online and created web map in the new map viewer. Tried to develop app in Web App Builder 2.22 (Developer edition) but labels didn't appear. I found that labels broke when I open map in classic map viewer.

I'm curious whether Web App Builder supports new map viewer features such as labels?

If new map viewer isn't compatible with Web App Builder (Developer edition), any ideas to bring labels from new viewer to classic map viewer (Web App Builder)?

Thanks,

Chintamani

0 Kudos
1 Solution

Accepted Solutions
magisian
Occasional Contributor

How have you configured the labels? Are you:

  • Using styles?
  • Using Arcade?
  • Using custom fonts?
  • Or is it simple, default labeling?

It's likely that you have used label styles or Arcade functions that are not supported in the ArcGIS API for JavaScript 3.x, which Map Viewer Classic and the Web AppBuilder run on. The new Web Map Viewer and newer ArcGIS apps use the ArcGIS API for JavaScript 4.x. 

Here's an example article that covers a scenario where the label styles are not supported. 

https://support.esri.com/en/technical-article/000027449

It also links out to Apps using 3.x vs 4.x for more information:

https://community.esri.com/t5/arcgis-api-for-javascript-documents/apps-that-use-arcgis-api-for-javas...

If you need more help from the community, please share how the labels were configured. 
Cheers.

View solution in original post

2 Replies
magisian
Occasional Contributor

How have you configured the labels? Are you:

  • Using styles?
  • Using Arcade?
  • Using custom fonts?
  • Or is it simple, default labeling?

It's likely that you have used label styles or Arcade functions that are not supported in the ArcGIS API for JavaScript 3.x, which Map Viewer Classic and the Web AppBuilder run on. The new Web Map Viewer and newer ArcGIS apps use the ArcGIS API for JavaScript 4.x. 

Here's an example article that covers a scenario where the label styles are not supported. 

https://support.esri.com/en/technical-article/000027449

It also links out to Apps using 3.x vs 4.x for more information:

https://community.esri.com/t5/arcgis-api-for-javascript-documents/apps-that-use-arcgis-api-for-javas...

If you need more help from the community, please share how the labels were configured. 
Cheers.

chintakandel
New Contributor III

Thank you for links about a scenario where the label styles are not supported. I used default labeling that is not supported in Web App Builder. 

Thanks.