Skip to content

Error trapping for highlighting active layer in LayerChooserDropupMenu #111

@itspangler

Description

@itspangler

bug

i'm not sure if this was introduced recently or predated our latest sprint, but i just noticed that when you are using a historic atlas as a base layer, and then you try to search an address with the geocoder, this error is thrown:

index-_O3ZWfgj.js:2 Uncaught TypeError: Cannot read properties of undefined (reading 'id')

this error breaks the control drawer and prevents a user from manipulating "Atlases" and selecting other atlases. it's also reproducible if you set a base layer as a historic map and then pan to a new location

solution

i think we just need to introduce a logic in the geolocation process for if baseLayer is none, then load streets 2025

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions