Add option to config

This commit is contained in:
Boon Boonsiri 2023-10-05 15:13:28 -04:00
parent 3c14e1d331
commit f33577b57f

View file

@ -294,6 +294,8 @@ const extractMarkersFromQuery = (query, options, transformer) => {
// When we encounter a remote icon check if the configuration explicitly allows them. // When we encounter a remote icon check if the configuration explicitly allows them.
} else if (options.allowRemoteMarkerIcons !== true) { } else if (options.allowRemoteMarkerIcons !== true) {
continue; continue;
} else if (options.allowInlineMarkerImages !== true) {
continue;
} }
// Ensure marker location could be parsed // Ensure marker location could be parsed