function Provider(_1){
this._name=_1;
}
Provider.prototype.toString=function(){
return this._name;
};
Provider.GOOGLE=new Provider("google");
Provider.MICROSOFT=new Provider("microsoft");
function ProviderAdaptor(){
}
ProviderAdaptor.prototype.bind=function(_2){
throw new Exception("method not implemented: cannot invoke on abstract class");
};
ProviderAdaptor.prototype.find=function(_3,_4){
};
function OpenMap(){
this.providers=new Object();
}
OpenMap.prototype.registerProvider=function(_5,_6){
this.providers[_5]=_6;
};
OpenMap.prototype.createInstance=function(_7,_8){
if(_8==Provider.MICROSOFT){
this.providers[_8].bind(_7);
}else{
}
_7.currentMapProvider=_8;
return _7;
};

