Map Type Control not working due to strict type check

Created on 25 April 2023, almost 2 years ago
Updated 6 June 2023, almost 2 years ago

Problem/Motivation

Selecting Enabled Map Type Control and then checking on the The enabled Map Types is not working as desired. All options are always being shown.

Steps to reproduce

Set up a display, enable Map Type Control and select only one of the Map Types to show. Observe they all show regardless.

Proposed resolution

The array filter is doing a $value !== 0 check but the 0 is actually a string from the config file, change this to a simple != check

🐛 Bug report
Status

Closed: cannot reproduce

Version

3.0

Component

Code

Created by

🇺🇸United States nsciacca

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024