mstahv / v-leaflet

Leaflet add-on for Vaadin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AbstractLeafletVector.addStyleName does not work

basisbit opened this issue · comments

Calling .addStyleName("somestring"); on an AbstractLeafletVector for example to change the geometry to look like being "selected" does not work. The class is never set anywhere on the web client.

Are you planning to modify the underlaying SVG using CSS?

that was my original intention. Ended up switching to Canvas renderer anyways, so it does not really matter any more for my use case. The API still is sort of broken there nonetheless.