Merge pull request #13901 from MoonE/text-types
Make Text options typesafe
This commit is contained in:
@@ -937,6 +937,7 @@ class KML extends XMLFeature {
|
||||
*/
|
||||
function createNameStyleFunction(foundStyle, name) {
|
||||
const textOffset = [0, 0];
|
||||
/** @type {CanvasTextAlign} */
|
||||
let textAlign = 'start';
|
||||
const imageStyle = foundStyle.getImage();
|
||||
if (imageStyle) {
|
||||
|
||||
Reference in New Issue
Block a user