Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZoomControl could support prop for icons customization? #1151

Open
silversonicaxel opened this issue Jan 24, 2025 · 0 comments
Open

ZoomControl could support prop for icons customization? #1151

silversonicaxel opened this issue Jan 24, 2025 · 0 comments

Comments

@silversonicaxel
Copy link

ZoomControl could support as a prop the possibility of customizing the icons for zoom in and zoom out with something like the types ReactNode or SVGAElement or HTMLOrSVGElement ?

<LayersControl zoomInIcon={<MapZoomPlusIcon />} zoomOutIcon={<MapZoomMinusIcon />} />

or

<LayersControl zoomInIcon={MapZoomPlusIcon} zoomOutIcon={MapZoomMinusIcon} />

In this way it would improve the possible customization of the map interactive elements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant