From 68c0ae88bb1dc5a8c9e6765444031d45d7e2b518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20de=20Metz?= Date: Sun, 26 Jan 2025 13:21:51 +0100 Subject: [PATCH] Add doc. --- lib/components/image.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/components/image.component.ts b/lib/components/image.component.ts index 2acfdec..bd56f5c 100644 --- a/lib/components/image.component.ts +++ b/lib/components/image.component.ts @@ -3,7 +3,8 @@ import { type StyleImageInterface, type StyleImageMetadata } from "maplibre-gl"; import { mapSymbol } from "@/lib/types"; /** - * Load an image to maplibre to use in the style + * Load an image to maplibre to use in the style. + * If the image id already exist, nothing is done. * * See [#addImage](https://maplibre.org/maplibre-gl-js/docs/API/classes/Map/#addimage) and [#loadImage](https://maplibre.org/maplibre-gl-js/docs/API/classes/Map/#loadimage) * @since 8.2.0