Description
Some background tile providers cause the application to crash (in OL3).
In case of Bug (otherwise remove this paragraph)
Browser Affected
(use this site: https://www.whatsmybrowser.org/ for non expert users)
I believe other browser to be affected as well.
Browser Version Affected
67
Steps to reproduce
- Open a map with Stamen background
Expected Result
Current Result
- Some UI elements are shown, but the map is not functional.
Other useful information (optional):
956845f replaces a for of loop with a .map when preparing URLs for tile providers. for of not only works on arrays, but also on strings. ConfigProvider.js contains definitions for tile providers which use a string and not an array.
The fix is to change the subdomains property of the tile provider from the string e.g. "abcd" to ["a", "b", "c", "d"]
Description
Some background tile providers cause the application to crash (in OL3).
In case of Bug (otherwise remove this paragraph)
Browser Affected
(use this site: https://www.whatsmybrowser.org/ for non expert users)
I believe other browser to be affected as well.
Browser Version Affected
67
Steps to reproduce
Expected Result
Current Result
Other useful information (optional):
956845f replaces a for of loop with a .map when preparing URLs for tile providers. for of not only works on arrays, but also on strings. ConfigProvider.js contains definitions for tile providers which use a string and not an array.
The fix is to change the subdomains property of the tile provider from the string e.g. "abcd" to ["a", "b", "c", "d"]