Skip to content

removeLayer was clearing all the overlay layers.. #4

Merged
merged 1 commit into from Feb 1, 2014

2 participants

@blomm
blomm commented Jan 31, 2014

and not repopulating them in the layer control. This was happening because groupContainer on line 225 was not null, so the "Create the group container if it doesn't exist" section will never be executed, and the innerHTML never populated

@blomm blomm removeLayer was clearing all the overlay layers..
...from the layer control.  The fail was happening because groupContainer on line 225 was not null, so the "// Create the group container if it doesn't exist" section will never be executed
9cd5d7e
@ismyrnow ismyrnow merged commit 9cd5d7e into ismyrnow:master Feb 1, 2014
@ismyrnow
Owner
ismyrnow commented Feb 1, 2014

Thanks for finding the bug and opening the pull request!

@blomm blomm deleted the blomm:patch-1 branch Mar 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.