Closed adgiles closed 7 years ago
Fixed by manually adding the function to the mgrs-utils.js if the browser does not support the function by default:
// If Math.log10 is not supported by default in the browser, add it here if (!Math.log10) { Math.log10 = function log10(val) { return Math.log(val) / Math.LN10; }; }
in PR #104
fixed, verified, closing.
Widget
GRG
Version of widget
All
Bug or Enhancement
Trying to create a GRG by reference system fails for both Area and Point in Internet Explorer
Repo Steps or Enhancement details
Within Internet Explorer try to create a grid using a Cell Size of 10,000 or less. The grid will not be created and on inspection of the console log the following error is thrown:
Internet Explorer does not support the math.log10 function used for labelling in the mgrs-utils.js file