Created
March 29, 2015 06:10
-
-
Save zpratt/d2310a9cd8f9618a3b56 to your computer and use it in GitHub Desktop.
Custom Overlay - Define onAdd method
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
BaseOverlay.prototype.onAdd = function () { | |
var panes = this.getPanes(); | |
panes.overlayLayer.appendChild(this.el); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment