Skip to content
#

leaflet

Here are 2,836 public repositories matching this topic...

Malvoz
Malvoz commented Apr 18, 2022

The 🇺🇦 flag does currently not scale with font-size changes unlike the rest of the attribution.

width: 1em and height: auto should be sufficient in allowing the flag to resize with font-size changes.

Though em is not supported in IE 6-9, so perhaps something like the following is required:

var ukrainianFlag = '<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" wid
good first issue accessibility
leaflet-geoman
Falke-Design
Falke-Design commented Feb 18, 2022

In the event payload there is always the source and the possibility to add custom properties. Is it possible to extend types and make a base event type with source and custom properties?

TS:
https://github.com/geoman-io/leaflet-geoman/blob/1fdc918fa39ffa84327fdf639fa75865168f716d/leaflet-geoman.d.ts#L1437-L1440

JS where the payload and the custom payload are merged:
https://github.com/

PROgram52bc
PROgram52bc commented Mar 8, 2022

When creating a Choropleth object with geo_data specified, but without the choro_data attribute, the _get_data method will raise an exception:

leaflet.py:1361, in Choropleth._get_data(self)
   1358     return {}
   1360 if self.value_min is None:
-> 1361     self.value_min = min(self.choro_data.items(), key=lambda x: x[1])[1]
   1362 if self.value_max is None:
   1363     self.val
zoran995
zoran995 commented Feb 16, 2022

Progress bar is not visible on light color base maps (such as positron) making user wonder what is going on
image
If I didn't know it is there I wouldn't see it. We could use base map contrastColor for defining a dynamic color of the progress bar

Improve this page

Add a description, image, and links to the leaflet topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the leaflet topic, visit your repo's landing page and select "manage topics."

Learn more