google.maps.Map.prototype.coordeInit = function(latLng, z) {
    if(!latLng || latLng == 'undefined') {
        latLng = new google.maps.LatLng(-6.219386, 106.812311);
    }
    if(!z || z == 0) z = 15;
    var mapOptions = {
        zoom: z,
        center: latLng,
        scrollwheel: false,
        mapTypeId: google.maps.MapTypeId.ROADMAP,
        mapTypeControlOptions: {
            mapTypeIds: ['coorde', google.maps.MapTypeId.SATELLITE, google.maps.MapTypeId.ROADMAP]
        }
    };
    this.setOptions(mapOptions);
    this.mapTypes.set('coorde', new google.maps.ImageMapType({
        getTileUrl: function(tile, zoom) {
            var ymax = 1 << zoom;
            var y = ymax - tile.y -1;
            return 'http://map.coorde.com/g/'+zoom+'/'+tile.x+'/'+y+'.jpg';
        },
        tileSize: new google.maps.Size(256, 256),
        isPng: false,
        minZoom: 12,
        maxZoom: 17,
        name: 'Coorde'
    }));
};

