Skip to content

leafsync strange behaviour - duplicate maps when syncing two different maps #7

@manomuthus

Description

@manomuthus

I have a bizarre thing going on with leafsync::sync. I have two maps generated using mapview. The underlying data is in sf format

map1
image

map2
image

As you can see they are two different maps with different legends. But when I try to put them together using leafsync::sync the first map is duplicated instead of the second map (the legends are different though).

leafsync::sync(map1,map2) produces the following map
image

and leafsync::sync(map2,map1) produces the following map
image

This has never happened before and I am creating some other simple maps using leafsync::sync and they are absolutely fine. I have tried reinstalling leaflet and leafsync and it didn't help. This issue is driving me crazy. Any idea why this is happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions