boolean isPng = maptypeUIDL.getBooleanAttribute("isPng");
double opacity = maptypeUIDL.getDoubleAttribute("opacity");
CopyrightCollection myCopyright = new CopyrightCollection();
myCopyright.addCopyright(new Copyright(1, LatLngBounds.newInstance(
LatLng.newInstance(-90, -180), LatLng.newInstance(90, 180)),
minZoom, copyright));
return new MapType(new TileLayer[] { new CustomTileLayer(myCopyright,
minZoom, maxZoom, tileUrl, isPng, opacity) },