class XYZLayerTransformer extends DefaultTransformer implements LayerActivationListener {

    @Override
    public synchronized void layerActivated(XYZDataTypeInfo layer)
    {
        if (isOpen() && !myGeometries.containsKey(layer.getTypeKey()))
        {
            TileRenderProperties props = layer.getMapVisualizationInfo().getTileRenderProperties();
            List<TileGeometry> initialGeometries = myGeometryBuilder.buildTopGeometry(layer.getLayerInfo(), layer.getTypeKey(),
                    props);

            myGeometries.put(layer.getTypeKey(), initialGeometries);
            publishGeometries(initialGeometries, New.collection());
            myMaxZoomObservers.put(layer.getTypeKey(), new XYZMaxZoomObserver(layer, this));
        }
        else
        {
            myPendingActivations.add(layer);
        }
    }

    public  XYZLayerTransformer(DataRegistry dataRegistry, UIRegistry uiRegistry, EventManager eventManager);

}