Leaflet.EasyButton icon indicating copy to clipboard operation
Leaflet.EasyButton copied to clipboard

leaflet control buttons with icons and callbacks

Results 25 Leaflet.EasyButton issues
Sort by recently updated
recently updated
newest added

Title says it all. Say I have a button called `myButton`, and later I want to set the `tagName` option after I have already declared the button with that option....

`aria-hidden` is used in the disabled state: https://github.com/CliffCloud/Leaflet.EasyButton/blob/cd53db586a10d5a9c4efed003327cad29f4760bf/src/easy-button.js#L289 https://github.com/CliffCloud/Leaflet.EasyButton/blob/cd53db586a10d5a9c4efed003327cad29f4760bf/src/easy-button.js#L296 which only hides the content from screen readers, but the button remains focusable, and because it is `aria-hidden="true"` nothing is announced...

When a button is activated using keyboard, the focus is set to the map element: https://github.com/CliffCloud/Leaflet.EasyButton/blob/cd53db586a10d5a9c4efed003327cad29f4760bf/src/easy-button.js#L193 This is not the standard behavior of activating buttons, and is problematic because a...

Hi! I have a button with 3 states and want to refresh the 3rd state's icon with the count of features retrieved from backend. So far I've tried updating the...

Ionic 3 declare module leaflet problem

Ok, so my map is getting crowded with controls, but limited screen height is starting to bite. One way to fix would be a two column buttonbar.

Is there any way using EasyButton to switch between layers in the same way that a LayersControl would for baseGroups?

This simple addition added select and unselect method to buttons which add or remove a '.selected' class to the button. This is useful when controls activate a new mode (eg...