Skip to main content

Questions tagged [dash-leaflet]

The tag has no usage guidance.

dash-leaflet
0 votes
0 answers
28 views

How can i set tooltip text for dash-leaflet edit/draw control?

I'd like to set the draw control tooltip text in dash leaflet. The Leaflet.draw docs here, provide the following recipe: // Set the button title text for the polygon button L.drawLocal.draw.toolbar....
Arseny Vasilyev's user avatar
0 votes
0 answers
41 views

Unable to get the updated position of a marker after draggin the marker

I'm unable to update the models with the position when a marker is dragged. Here is a snippet where the five postions are never updated in the view when I drag a marker. What is wrong with that code? ...
Brogrammeur's user avatar
0 votes
0 answers
20 views

Is there a way to detect returns in a dcc.Dropdown component or clicks in a dcc.Textarea component?

I'm trying to create a google-style search bar using dash leaflet components. Currently the only way I know of doing this is to use a combination of a dcc.Input with a hidden dcc.Dropdown below. ...
Han Wen's user avatar
0 votes
0 answers
40 views

using postgreSQL table to plot geometry in dash leaflet

I have multiple shape files which are publicly available for UK region. i have loaded these shape files to postgreSQL using postGIS and the geometry (with multipolygons) of the shapes are captured. ...
harsha vardhan's user avatar
0 votes
0 answers
50 views

Export Dash LeafletMap as HTML

I'm lookig for a way to make a dash leaflet map downloadable as a html file in a plotly dash dashboard. I found some examples for plotly plots in dash (e.g. https://plotly.com/python/interactive-html-...
Christian's user avatar
0 votes
1 answer
68 views

how do I set up a jupyter notebook that will run dash-leaflet, dash_table

I had to add in "dash-leaflet" to my project this week but Pylance can't find it. the auto complete can see dash_leaflet but it's still not found when I click on either of the suggestions I'...
Brian Fulton's user avatar
0 votes
1 answer
75 views

Dash Leaflet Marker Events

I'm trying to get my Dash Leaflet map to respond to when a user clicks on a marker. Below I've made a minimal example app to illustrate my problem. Currently the app does not respond to clicks on ...
Chris Raper's user avatar
0 votes
1 answer
83 views

Update the positions' property of Polyline in dash-leaflet through a callback

How is it possible to update the positions property of Polyline through a callback? I tried value and data in the callback's Output property, but it seems it did not work. import dash_leaflet as dl ...
Mohammad Namakshenas's user avatar
0 votes
0 answers
112 views

Using fontawesome icons in dash-leaflet webapp

i'm using an dash-leaftlet app with a real-time map. The markers are updated every 30 secondes, that works. Now i would like to change the icon and use the fontawesome icons. That doesn't work, i ...
ovcrash's user avatar
  • 15
0 votes
0 answers
66 views

Get the children propertie of a LayersControl object to add a new layer

In a dash application with a Map component containing a LayersControl object initialized in a previous callback with different layers, I wan't to add another layer from a second callback but when I am ...
Adrien's user avatar
  • 1
0 votes
0 answers
82 views

Change popup figure by click on map with poligon geojson data

I create a dashboard to show map that are saved in director that I want to show when click in polygon. I've done it however I didn't achieve to change map by attribute id, in order to appear which is ...
dogosousa's user avatar
  • 151
0 votes
1 answer
273 views

Mark selected states in dash-leaflet map

I'm creating US map and I want to make it interactive. If the user clicks on certain state it get highlighted, and if another state is clicked it will be highlighted also. Finally if the user clicked ...
Mohammed Eltaweel's user avatar
1 vote
1 answer
377 views

Add popup in dl.GeoJSON Dash-leaflet (Python/Dash)

I have been using dash-leaflet for 1 month and it is a good library for showing interactive map with filter widget in dash. But I have question, how do I add popup in polygon? especially in dl.GeoJSON ...
naranara's user avatar
  • 179
0 votes
1 answer
101 views

increase click tolerance in dash-leaflet

I am using dash-leaflet and I want to increase the area around my features in which they become clickable. As far as I understood, in leaflet this is possible with the canvas renderer and its option &...
mr. creme's user avatar
0 votes
1 answer
204 views

Dash-leaflet error using dash_table and geopandas

I am a begginer to use dash-leaflet. I try to make a dashboard with displaying a (geo)DataFrame on a dash_table and on a dash_leaflet.Map I manage to do one or the other but not the both. In this ...
Srn's user avatar
  • 1

15 30 50 per page