Created
March 29, 2015 06:33
-
-
Save zpratt/8c274163e6db89ec1b3f to your computer and use it in GitHub Desktop.
Custom Overlay Factory
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
'use strict'; | |
var BaseOverlay = require('./base-overlay'); | |
module.exports = { | |
create: function (options) { | |
var overlayInstance = new BaseOverlay(options); | |
overlayInstance.setMap(options.map); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment