Created
September 28, 2011 13:15
-
-
Save RicSwirrl/1247903 to your computer and use it in GitHub Desktop.
Handle the boundaryDataRetrieved and DataError events in the constructor
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
$(this).bind('boundaryDataRetrieved', function() { | |
refreshPolygons(); | |
}); | |
$(this).bind('dataError', function() { | |
$(this).trigger('finished'); // tell people we're done | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment