Marker.prototype.hide = function() {
    if (this.api) {
        switch (this.api) {
            case 'google':
            case 'openstreetmap':