// Chiriin Map Standard 2013 (Overlay) function GSIStd2013OverlayedMapType() { GSIStd2013OverlayedMapType.prototype.tileSize = new google.maps.Size(256,256); GSIStd2013OverlayedMapType.prototype.minZoom = 15; GSIStd2013OverlayedMapType.prototype.maxZoom = 17; GSIStd2013OverlayedMapType.prototype.name = 'GSI Std 2013 (Overlay)'; GSIStd2013OverlayedMapType.prototype.alt = 'Chiriin Map Standard 2013 (Overlay)'; GSIStd2013OverlayedMapType.prototype.getTile = function( tileXY, zoom, ownerDocument ) { var tileImage = ownerDocument.createElement('img'); var url= "http://cyberjapandata.gsi.go.jp/xyz/std/" + zoom.toString() + "/" + tileXY.x.toString() + "/" + tileXY.y.toString() + ".png"; tileImage.src = url; tileImage.style.width = this.tileSize.width + 'px'; tileImage.style.height = this.tileSize.height + 'px'; tileImage.style.opacity = 0.4; // <=== Set Opacity return tileImage; }; }