Select to view content in your preferred language

Symbology in Map Viewer is not honored in Experience Builder

505
7
Jump to solution
02-17-2025 04:04 PM
Labels (1)
LizAbbey
Occasional Contributor

Short story: symbols that work in Pro 3.3, Map Viewer and Instant Apps are not rendering correctly in Experience Builder.

I have created custom line symbols that are dashed with 1 or 2 characters indicating which utility they represent. It’s important that the characters are not overlapped by lines for readability, so I have configured the dashes and character spacing and repeats.

This is how it looks in Pro, in a Web Map Viewer, and in an Instant App (perfect, no issues):

LizAbbey_0-1739836441287.png

And this is how it looks in EB – spacing all off:

LizAbbey_1-1739836441288.png

I have opened a fresh new Experience Builder and a fresh new Map Viewer with only this layer to ensure I haven’t set some kind of symbol rendering, and it’s always the same. EB just won’t honour the symbology at any zoom level from either the web style or ArcGIS Pro. I thought this was an issue going the other way – that Web App Builder would be the issue, so I’m not able to find any help docs on this.

Running Pro 3.3

Working with Experience Builder App built via AGO

Map Viewer is the new one, not classic

Symbols tested published 3 ways:

  1. as a Web Style where the symbology is applied after publishing
  2. where the symbology is applied at the point of publishing in ArcGIS Pro
  3. where symbology applied at the point of publishing in Pro, but is downgraded

Downgraded symbols are not the solution:

LizAbbey_2-1739836441289.png

The first two publishing attempts listed above result in the exact same outcome (it works everywhere except EB). Is this a known issue? I thought building my app in EB would save me issues like this, but it seems like if I want my users to have the right symbols, I will need to convert it to an instant app.

 

0 Kudos
1 Solution

Accepted Solutions
LizAbbey
Occasional Contributor

Updates:
Esri have come back and said that this behavior is not a bug, but rather by design to ensure linked maps remain syncronized. The workaround (because there is no solution) for people who want symbols to render in EBs even without linked maps is to use the + - zoom widget and not your mouse wheel.

LizAbbey_1-1744253369364.png

Response from Esri:

"When using the zoom tool to zoom in or out, the vector marker symbology matches what is displayed in Map Viewer. However, when using the mouse scroll wheel to zoom in or out, the vector marker symbology does not match what is displayed in Map Viewer.

This is not a bug; it is by design.

Following the June 2023 update, the snapToZoom parameter is set to False by default, meaning that zooming is continuous. Please refer to the following links for more information:

https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#constraints
https://developers.arcgis.com/experience-builderlguide/1.12/whats-new (Map widget part)

The reason for modifying the default value of snapToZoom is to enhance the map's performance. In ArcGIS Experience Builder, multiple Map widgets can be placed on the same page, supporting linked displays. When zooming the map using the scroll wheel, there will be an animation. If the snapToZoom parameter is set to true, this leads to synchronization issues between maps on the same page, affecting the user experience"

View solution in original post

0 Kudos
7 Replies
Ke_Xu
by Esri Contributor
Esri Contributor

Hi @LizAbbey,

Thanks for bringing up this. Could you share the web map so I can take a look?

 

Thanks,

Ke

0 Kudos
LizAbbey
Occasional Contributor

Thanks for your response, @Ke_Xu. My org doesn't allow me to share content publicly, so I have attached the desktop style here for you to test in your environment. I'm very curious to know if you follow either of my first two workflows to publish some lines if they render correctly for you in EB.

Cheers

Liz

0 Kudos
Marion_CountyAuditor
Occasional Contributor

I am having the same issue. Was this ever resolved?

0 Kudos
LizAbbey
Occasional Contributor

I have not made any headway with this issue so have now reached out to ESRI tech support.

0 Kudos
Ferreira
Emerging Contributor

Same issue here as well. I'm curious to know if you ever heard from ESRI why this could be happening.

0 Kudos
LizAbbey
Occasional Contributor

I have heard back from ESRI now and the issue was not resolved in a screenshare session. It's sitting with them now for further investigations. I will update this thread when I hear more.

0 Kudos
LizAbbey
Occasional Contributor

Updates:
Esri have come back and said that this behavior is not a bug, but rather by design to ensure linked maps remain syncronized. The workaround (because there is no solution) for people who want symbols to render in EBs even without linked maps is to use the + - zoom widget and not your mouse wheel.

LizAbbey_1-1744253369364.png

Response from Esri:

"When using the zoom tool to zoom in or out, the vector marker symbology matches what is displayed in Map Viewer. However, when using the mouse scroll wheel to zoom in or out, the vector marker symbology does not match what is displayed in Map Viewer.

This is not a bug; it is by design.

Following the June 2023 update, the snapToZoom parameter is set to False by default, meaning that zooming is continuous. Please refer to the following links for more information:

https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#constraints
https://developers.arcgis.com/experience-builderlguide/1.12/whats-new (Map widget part)

The reason for modifying the default value of snapToZoom is to enhance the map's performance. In ArcGIS Experience Builder, multiple Map widgets can be placed on the same page, supporting linked displays. When zooming the map using the scroll wheel, there will be an animation. If the snapToZoom parameter is set to true, this leads to synchronization issues between maps on the same page, affecting the user experience"

0 Kudos