Skip to main content

Questions tagged [ipyleaflet]

A Jupyter / Leaflet bridge enabling interactive maps in the Jupyter notebook.

Filter by
Sorted by
Tagged with
1 vote
0 answers
52 views

Ipyleaflet map crashes Jupyter notebook and says out of memory

I wrote a code to show some points on ipyleaflet map that will be updated automatically. at first, the map shows fine, but despite removing markers after a certain time (eg. 72 hours) the notebook ...
Shane roar's user avatar
0 votes
1 answer
30 views

Why does the polygon saved in geodataframe have a different value from the shapely polygon it came from?

I'm working with Jupiter and ipywidgets and Ipyleaflet , trying to draw polygons on a map and saving to a geodataframe. I have the following in a notebook cell: myDrawControl = DrawControl( rectangle={...
user1592380's user avatar
1 vote
1 answer
88 views

Map moves every time a marker is added in ipyleaflet

I am trying to create a map that is updated continuously with received data and I have a problem. the map moves every time a new marker is added and it is making it useless as it should be zoomed to ...
Shane roar's user avatar
0 votes
0 answers
47 views

how to get the exact request used for a tile in ipyleaflet?

I'm building a map using ipyleaflet and world imagery wayback WMS data. I want to display the metadata associated to each image when the map is clicked so that user know what they are looking at. I'm ...
Pierrick Rambaud's user avatar
2 votes
1 answer
156 views

Can ipyleaflet labels be displayed in Google Colab?

I have plotted a simple interactive map with ipyleaflet using Google Colab as an environment for running the code, but I am struggling with adding labels to the places. I can create labels that appear ...
OnceUponATime's user avatar
3 votes
2 answers
445 views

Add ESRI wayback WMTS service in ipyleaflet

I'm struggling to use the ESRI wayback WMTS service in (ipy)leaflet. I tried the options below but none of them worked. Via wms from ipyleaflet import Map, basemaps, WMSLayer, TileLayer wayback_url = ...
Loïc Dutrieux's user avatar
2 votes
0 answers
279 views

Export a GeoJSON to GeoDataFrame using Folium, Leafmap or Ipyleaflet

The title might be odd though, I'm currently working on a project using COLAB and trying to find a way to export a drawn polygon to a Geodataframe without downloading it to the local machine. So the ...
dinc's user avatar
  • 21
3 votes
1 answer
523 views

ipyleaflet area of drawn polygon

I am trying to get the area of a drawn polygon in ipyleaflet with geopandas...but kind of cant get a propper result. from ipyleaflet import Map, basemaps, DrawControl, SearchControl m = Map(basemap=...
Jens Möller's user avatar
0 votes
0 answers
167 views

In ipyleaflet cannot access on_location_found attribute from SearchControl class

Working with ipyleaflet trying to get the latitude/longitudes from a successful location search using the SearchControl class. Running code from the ipyleaflet documentation link. When I run the below ...
CGarden's user avatar
  • 165
2 votes
1 answer
1k views

Show marker moving live along an ipyleaflet map?

I'm trying to simulate the real-time movement of a vehicle along a pre-determined path (as a list of coordinates) on ipyleaflet (running on a Jupyter Notebook). What I've tried is to instantiate a ...
Metrician's user avatar
1 vote
0 answers
354 views

Adding attribution to GeoJSON layer

I'm using ipyleaflet and I try to add attribution to a GeoJSON layer. I was thinking that GeoJSON objects were TileLayer so I tried the following: map = ipyleaflet.Map() data = json.loads(self.gdf....
Pierrick Rambaud's user avatar