Skip to content

Instantly share code, notes, and snippets.

@ricroberts
Created September 19, 2011 16:10
Show Gist options
  • Save ricroberts/1226851 to your computer and use it in GitHub Desktop.
Save ricroberts/1226851 to your computer and use it in GitHub Desktop.
IMD Map Explorer initial map-manager
(function() {
// the constructor.
var MapManager = function(googleMap, initialScoreDomain) {
self = this;
map = googleMap;
scoreDomain = initialScoreDomain;
};
// public API
MapManager.prototype = {
};
// private variables
var map
, scoreDomain
, self;
// private functions will go here
// add the MapManager to the swirrl namespace
window.swirrl.MapManager = MapManager;
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment