#### PR fixes following issue(s) Fixes #11815 ## Description Added an option to enable/disable MapTypeControl on the Map widget. - The BOTTOM_CENTER position was chosen so it would not interfere with any of the other elements that can currently be added to the map. - It specifically uses the DEFAULT control style to serve as a hint that work can be done to allow the user to set this option. - It specifies only ROADMAP and SATELLITE, which disables the terrain map option because the dropdown that allows the user to select the terrain map overflows the map boundary when using BOTTOM_CENTER position #### Media  #### Type of change - New feature (non-breaking change which adds functionality) ## Testing #### How Has This Been Tested? - [X] Manual Manually tested that - the map type controls can be added to the map widget - that toggling the switch adds/removes the controls from the map - that the controls don't interfere with any other elements on the map screens of different sizes (desktop, tablet, mobile) ## Checklist: #### Dev activity - [X] My code follows the style guidelines of this project - [X] I have performed a self-review of my own code - [X] I have commented my code, particularly in hard-to-understand areas --------- Co-authored-by: Jan Bremnes <jan@soolo.no> |
||
|---|---|---|
| .. | ||
| component | ||
| widget | ||
| constants.ts | ||
| icon.svg | ||
| index.ts | ||