Qiusheng Wu

Results 376 comments of Qiusheng Wu

Go to https://ipyleaflet.readthedocs.io/en/latest/. You can try out ipyleaflet interactively. Paste your code into the code cell.

> How to change markers from the default ipyleaflet markers. Say we want to use a custom marker. Is this possible? Yes, you can use `AwesomeIcon`. See https://ipyleaflet.readthedocs.io/en/latest/api_reference/awesome_icon.html

@konanast I believe only relative path is supported. See the [documentation](https://ipyleaflet.readthedocs.io/en/latest/api_reference/image_video_overlay.html). ``` from ipyleaflet import Map, ImageOverlay m = Map(center=(25, -115), zoom=4) image = ImageOverlay( url="https://i.imgur.com/06Q1fSz.png", # url='../06Q1fSz.png', bounds=((13, -130),...

Here is a [function](https://github.com/giswqs/geemap/blob/master/geemap/geemap.py#L1675) from the [geemap](https://github.com/giswqs/geemap) package that supports absolute path. ``` def image_overlay(self, url, bounds, name): """Overlays an image from the Internet or locally on the map. Args:...

I just uninstalled ipyeaflet and reinstalled using `%conda install ipyleaflet -c conda-forge -y`. Restarted the kernel and still got the same error. Is there a way to do a factory...

I am interested in this as well.

You can manipulate m.layers to change the order of layers. Just pass a new list of layers to m.layers

This would be a nice feature to add. Currently, it seems only Marker has a popup attribute. My workaround in [leafmap](https://github.com/giswqs/leafmap/) is to use an HTML widget and update it...

I just added a `add_point_layer()` function to leafmap that can display popup attributes with a single line of code. See notebook example https://leafmap.org/notebooks/18_point_layer. ![](https://i.imgur.com/CPEUciu.gif)

Try awesome icons https://ipyleaflet.readthedocs.io/en/latest/layers/awesome_icon.html https://leafmap.org/notebooks/50_marker_cluster/ ![](https://i.imgur.com/63LDhOx.gif)