Changed access to GlobalMapView._layerControl to use GlobalMapView.getLayerControl() instead.