class DefaultMapContext extends MapContext {

    @SuppressWarnings("deprecation")
    public boolean addLayer(int index, MapLayer mapLayer) {
        // checkCRS(mapLayer);
        Layer layer = mapLayer.toLayer();
        layers().add(index, layer);
        return true;
    }

    public  DefaultMapContext();
    public  DefaultMapContext(final CoordinateReferenceSystem crs);
    public  DefaultMapContext(MapLayer[] layers);
    public  DefaultMapContext(MapLayer[] layers, final CoordinateReferenceSystem crs);
    public  DefaultMapContext(MapLayer[] layers, String title, String contextAbstract,
            String contactInformation, String[] keywords);
    public  DefaultMapContext(MapLayer[] layers, String title, String contextAbstract,
            String contactInformation, String[] keywords, final CoordinateReferenceSystem crs);

}