}
void encodeGroundOverlay(Folder container, Layer layer, int drawOrder, Envelope box) {
GroundOverlay go = container.createAndAddGroundOverlay();
go.setDrawOrder(drawOrder);
Icon icon = go.createAndSetIcon();
String href = WMSRequests.getGetMapUrl(request, layer, 0, box, new String[] { "width",
"256", "height", "256", "format", "image/png", "transparent", "true" });
icon.setHref(href);
LOGGER.fine(href);
// make sure the ground overlay disappears as the lower tiles activate
addRegion(go, box, 128, 512);