Skip to content
This repository has been archived by the owner on Nov 30, 2018. It is now read-only.

check maptype properties before refresh #1549

Merged
merged 3 commits into from
Oct 8, 2015
Merged

check maptype properties before refresh #1549

merged 3 commits into from
Oct 8, 2015

Conversation

eczajk1
Copy link
Contributor

@eczajk1 eczajk1 commented Oct 7, 2015

Proposed solution to item that was piggy-backed onto issue #1542 .

Idea is to check equality on specific properties of options object -
then trigger the map refresh.

So if your maptype (e.g. cartodb layer) relies on additional
properties/functions that are subject to change - but do not require a
map refresh, you won't get the flickering effect.

Proposed solution to item that was piggy-backed onto issue #1542.

Idea is to check equality on specific properties of options object -
then trigger the map refresh.

So if your maptype (e.g. cartodb layer) relies on additional
properties/functions that are subject to change - but do not require a
map refresh, you won't get the flickering effect.
@eczajk1
Copy link
Contributor Author

eczajk1 commented Oct 7, 2015

is the failed travis check a known issue? I was running into the same thing in my env - before touching any code.

@nmccready
Copy link
Contributor

Yeah thats not you I gotta figure out what wrong with the logger on the master branch.

@nmccready
Copy link
Contributor

I'll have it patched soon, the problem is index.js in the logger is for node/ browserify/ commonjs only now.

@nmccready
Copy link
Contributor

Merge in updates and I think it should pass now.

Flickering seems to become more evident when you have > 1 layer.
@nmccready
Copy link
Contributor

LGTM

nmccready added a commit that referenced this pull request Oct 8, 2015
check maptype properties before refresh
@nmccready nmccready merged commit 7f06702 into angular-ui:master Oct 8, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants