Questions tagged [ipyleaflet]

44 questions
1
vote
0 answers

Navigate an SVG Image using folium or ipyleaflet

I use jupyter notebooks to visualise data, and have some routines for generating complex SVG images, the size of which make it difficult see as an overview without losing sight of the detail. What I'd like to do is import this SVG image into a…
Thomas Kimber
  • 10,601
  • 3
  • 25
  • 42
1
vote
0 answers

How to replace the Ipyleaflet background map with a custom color?

I'm able to remove the background map of ipyleaflet in a Jupyter Lab environment. This allows me to add (transparent) layers on a background, gray area. How can I change the color of that background?
ragazzojp
  • 477
  • 3
  • 14
1
vote
0 answers

I got Object Column is not Serializable error when trying to save Ipyleaflet Map with Panda Dataframe

I am trying to plot some data on a Map using Ipyleaflet on Databricks community Notebook I got all the points in a Panda DataFrame but when I pass column to the map and try to save it in a file I got an error from ipyleaflet import Map,Heatmap from…
1
vote
1 answer

Ipyleaflet: Create your own arbitrary non-geographic coordinate system basemap

I am trying to use ipyleaflet with an arbitrary non-geographic tiled image as basemap. i.e.not a projected image. Think like a tiled image of your dog The code I have below displays the tiled image just fine but places it on top of the default globe…
SeanD
  • 105
  • 1
  • 1
  • 7
1
vote
0 answers

display a ipyleaflet map in pyqtlet.MapWidget

I have the following code that works fine in Jupyter notebook: import os import json import random import requests from ipyleaflet import Map, GeoJSON, LayersControl def handle_click(**kwargs): …
AkbarB
  • 460
  • 7
  • 24
0
votes
0 answers

Ipyelaflet numbered markers

I'm wondering how to create markers that have a number inside of them in ipyleaflet. I googled it, however the only answer I found was abou javascript. Thank you
Beppe
  • 1
  • 1
0
votes
0 answers

How to make an ipyleaflet/leaflet style app for custom maps of very local areas -- scale of tens of meters?

I realize this is a simplistic question, but I'm having trouble finding the right python library, essentially. I want to create an interactive map application with a lot of the basic functionality of a leaflet app. But leaflet is aimed at big,…
maab
  • 11
  • 4
0
votes
0 answers

marker.on_click misbehave in python shiny

I'm using shiny and python for a project and I run into an interesting behavior. My code should create a marker and equip this marker with a function once the marker is clicked. from ipyleaflet import Marker, Map, MarkerCluster map = Map(center=(0,…
0
votes
0 answers

Getting an image of drawn content from ipyleaflet map

I use ipyleaflet for visualization of WMS source in Jupyter Notebook. Example: from ipyleaflet import Map m = Map(zoom=5) display(m) Is it possible to get an image from the ipyleaflet Map to work with pixel values?
Ivan
  • 81
  • 1
  • 3
0
votes
0 answers

Ipyleaflet Add marker on map click and take user input as a data

Im kinda new with python and leaflet maps and I have a question if it is possible to allow user to add Marker on map click (I already did it) BUT this way: User clicks on map and small dialog with form is opened. Inside this form they can enter some…
Kali
  • 9
  • 1
  • 5
0
votes
0 answers

Substituting Layers on an ipyleaflet map and working with layer.model_id

There is not a lot of examples out there working on ipyleaflet layers. Here in my mock up I have a map with a rectangle on it. I want to have a user input where the user can specify a new center point for a "square" rectangle on a ipyleaflet…
0
votes
0 answers

'Map' object has no attribute 'on_displayed

I get an error when I run the code below in jupiter lab. How can I fix ? # Set study area using ipyleaflet m = Map(center=(14, -90), zoom = 6) draw_control = DrawControl(polyline={}, circlemarker={}, polygon={}) draw_control.rectangle = { …
SRTM
  • 1
  • 1
0
votes
1 answer

lazy pop up image loading for ipyleaflet

I have a lot of images from different locations. I want to show them on a ipyleaflet map in a jupyter notebook. Each image should have a marker, on click of the marker the image should be shown. Since there are a lot of images i want the contents of…
nikste
  • 140
  • 9
0
votes
0 answers

ipyleaflet does not render layers on jupyter lab

I've installed ipyleaflet in jupyter lab using based on the following guide: https://ipyleaflet.readthedocs.io/en/latest/installation/index.html#jupyterlab-extension The following code executes, the map is shown correctly but the layers (in this…
Ilya Zinkovich
  • 4,082
  • 4
  • 25
  • 43
0
votes
0 answers

How to embed ipyleaflet map containing a WidgetControl in a static HTML page

I have to generate static html webpages with ipyleaflet, and I would like to add a custom legend. It's basicaly a WidgetControl containing a Ipywidget Accordion. It's displaying well in my Jupyter notebook, but when I am embeding it into an html…
jbrown
  • 1