@@ -243,14 +243,17 @@ class ImageOverlay(Layer):
243243
244244 Parameters
245245 ----------
246- image: string, file or array-like object
247- The data you want to draw on the map.
248- * If string, it will be written directly in the output file.
249- * If file, it's content will be converted as embedded in the output file.
250- * If array-like, it will be converted to PNG base64 string and embedded in the output.
246+ image: string or array-like object
247+ The data to overlay as an image.
248+
249+ * If string is a path to an image file, its content will be converted and
250+ embedded.
251+ * If string is a URL, it will be linked.
252+ * Otherwise a string will be assumed to be JSON and embedded.
253+ * If array-like, it will be converted to PNG base64 string and embedded.
251254 bounds: list/tuple of list/tuple of float
252255 Image bounds on the map in the form
253- [[lat_min, lon_min], [lat_max, lon_max]]
256+ [[lat_min, lon_min], [lat_max, lon_max]]
254257 opacity: float, default Leaflet's default (1.0)
255258 alt: string, default Leaflet's default ('')
256259 origin: ['upper' | 'lower'], optional, default 'upper'
0 commit comments