diff --git a/src/components/Points/PointImage.jsx b/src/components/Points/PointImage.jsx index d58492bc..6fa5f845 100644 --- a/src/components/Points/PointImage.jsx +++ b/src/components/Points/PointImage.jsx @@ -15,7 +15,7 @@ function PointImage({ data, sx }) { return false; } if (url) { - return /\.(jpg|jpeg|png)$/.test(url.pathname); + return /\.(jpg|jpeg|png|webp|bmp|gif|ico|svg)$/.test(url.pathname); } return false; }