Skip to content

Commit 642a61b

Browse files
committed
Fix typo
1 parent 88c466c commit 642a61b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/plots/map/map.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ proto.createMap = function (calcData, fullLayout, resolve, reject) {
136136
const requestedIcons = {};
137137
map.setMissingStyleImageResolver((id) => {
138138
if (!requestedIcons[id] && /^[a-zA-Z0-9-]+$/.test(id)) {
139-
// Use a promise so that maplibre-gl awaits the resolution before treating the image is missing
139+
// Use a promise so that maplibre-gl awaits the resolution before treating the image as missing
140140
requestedIcons[id] = new Promise((resolve) => {
141141
const img = new Image(15, 15);
142142
img.onload = () => {

0 commit comments

Comments
 (0)