use proxy to access secure layers
update to legend graphic