-
Notifications
You must be signed in to change notification settings - Fork 2
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
leafsync strange behaviour - duplicate maps when syncing two different maps #7
Comments
Can you show the code? Might have to do with layer names? |
|
manomuthus
changed the title
leafsync strange behaviour - duplicate maps when syncing two different m
leafsync strange behaviour - duplicate maps when syncing two different maps
Oct 2, 2023
Okay. As you mentioned it was due to layer names. I was using the same layer names inside map1 and map2 and it caused all the issues. Changing the layer names has fixed the issue. It would be better to mention this in the documentation. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a bizarre thing going on with
leafsync::sync
. I have two maps generated usingmapview
. The underlying data is insf
formatmap1
map2
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 mapand
leafsync::sync(map2,map1)
produces the following mapThis 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
andleafsync
and it didn't help. This issue is driving me crazy. Any idea why this is happening?The text was updated successfully, but these errors were encountered: