function createOverlay(){
var cRight = new GCopyrightCollection('Rithy 2010');
var newLayer = new GTileLayer(cRight,11,13);
newLayer.getOpacity = function () {return 0.2};
if (this.minZoom) {
newLayer.minResolution = function(){return this.minZoom};
}
if (this.maxZoom) {
newLayer.maxResolution = function(){return this.maxZoom};
}
var newOverlay = new GTileLayerOverlay(newLayer);
return newOverlay;
}
我的问题与Convert this from Google Maps API v2 to v3
类似我被困了几天。 请帮帮我!