Skip to content

Polygons are deformed #93

@cschuster89

Description

@cschuster89

Hi,
first of all I would like to thank you for the great libary, which significantly increases the performance of my maps.

Unfortunately, I have a small problem with the display of my polygons.

Map without LeafGL:

image

Map section with LeafGL:

image

The code I'm using looks like:

building <- building %>% addPolygons(data = filtered_buildings,
                                           color = colors_building[i],
                                           fillColor = colors_building[i],
                                           fillOpacity = 0.7,
                                           highlightOptions = highlightOptions(color = "white", weight = 2,
                                                                               bringToFront = TRUE),
                                           popup = ~paste0("Some popup Options"))

And when I'm using leafgl I just change it to "addGlPolygons" and use "leafglOutput" instead of my "leafletOutput".

Also, my highlightOptions don't work anymore when using addGlPolygons. Is there a way to make them work?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstreamneeds to be adressed in Leaflet.Glify

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions