themustafaomar / jsvectormap

A lightweight JavaScript library for creating interactive maps and pretty data visualization.
https://jvm-docs.vercel.app
MIT License
369 stars 77 forks source link

feat: allow all styles on Marker level #140

Closed dgvozdenovic-edeja closed 2 months ago

dgvozdenovic-edeja commented 9 months ago

Hi @themustafaomar ,

We had an issue where due to the current implementation we were not able to define an image for hover and select states. The proposed change allows all top level Marker styles to also be added on the individual level, opposite to just initial ones.

Thanks!

themustafaomar commented 2 months ago

That's going to break in some places, and will need to update many docs, but I like it, it worth working on it.

Thanks!