Created
March 11, 2011 15:52
-
-
Save chelm/866061 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// starts up the poller on map ready | |
initPoller: function(){ | |
var id_list = [] | |
jq.each(this.getLayers(), function(index, layer) { | |
id_list.push(layer.pk) | |
}) | |
// start it, only starts if there are layers in the map | |
this.layer_poller = new F1.Poller({overlays:id_list}) | |
this.layer_poller.start() | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment