var cp = new GCopyrightCollection("define");
var my_copyright = new GCopyright(1, new GLatLngBounds(new GLatLng(35, -117), new GLatLng(37, -115)), 0, '© new map type');
//添加版权只能用addCopyright的方法
cp.addCopyright(my_copyright);

// define the crosshair tile layer and its required functions
var crossLayer = new GTileLayer(cp, 0, 15);
crossLayer.getTileUrl = function(tile, zoom) {
    //地图图片,一般是以x,y,zoom三个数据点命名的图片
    return "include/tile_crosshairs.png";
}
crossLayer.isPng = function() {return true;}

// Create a new map type incorporating the tile layer
var layerTerCross = [ G_PHYSICAL_MAP.getTileLayers()[0], crossLayer ];
var mtTerCross = new GMapType(layerTerCross, G_PHYSICAL_MAP.getProjection(), "Ter+");

var map = new GMap2(document.getElementById("map_canvas"), { size: new GSize(640,320) } );

map.addMapType(G_PHYSICAL_MAP);
map.addMapType(mtTerCross);
map.addControl(new GLargeMapControl());

var mapControl = new GHierarchicalMapTypeControl();
// Set up map type menu relationships
mapControl.clearRelationships();
mapControl.addRelationship(G_SATELLITE_MAP, G_HYBRID_MAP, "Labels", false);
mapControl.addRelationship(G_PHYSICAL_MAP, mtTerCross, "Crosshairs");

// Add control after you've specified the relationships
map.addControl(mapControl);
map.setCenter(new GLatLng(39.917, -116.397), 4);