"More Information" page giving Javascript error when vector tile service on underlying map

494
1
02-23-2023 12:04 PM
KeithMiller3
New Contributor III

In LocalMaps 2.3.1, when you click on the More Information link (the small 'i' icon on the gallery page), a Javascript error is thrown if the map includes a vector tile layer. Here's an example page.

https://maps.kapiticoast.govt.nz/LocalMaps/Gallery/metadata/b9fcce17601a40a5b850acabfb2ac6a1

The error is: [LocalMaps Error] TypeError: Cannot read properties of undefined (reading 'toLowerCase')

In this case it is our Contours layer on the Flood Extents map that is breaking things. If I remove this layer from the map then this page displays correctly.

I believe that this is a bug. Can it be fixed please? I've included screenshots of the broken page and also of the page working when I temporarily removed the Contours layer from the map.

Thanks, Keith

0 Kudos
1 Reply
LaurenMcArtney
Esri Contributor

Hey @KeithMiller3 - good spot. We did some work with Vector tiles for but I will link this in with our LocalMaps Support team and we will look to make a fix. Can you please confirm the version of LocalMaps that you are using? This will be on the settings page of the admin.

0 Kudos