Edit in JSFiddle

function go() {
    var map = new ol.Map({
        target: 'map',
        layers: [
            new ol.layer.Tile({
                source: new ol.source.GeoportalWMTS({
                    layer: "ORTHOIMAGERY.ORTHOPHOTOS"
                }),
                opacity: 0.7
            })
        ],
        view: new ol.View({
            center: [288074.8449901076, 6247982.515792289],
            zoom: 12
        })
    });
}

Gp.Services.getConfig({
    apiKey: "jhyvi0fgmnuxvfv0zjzorvdn",
    onSuccess: go
});

var infoDiv= document.getElementById("info") ;
infoDiv.innerHTML= "<p> Extension OL version "+Gp.olExtVersion+" ("+Gp.olExtDate+")</p>" ;
<div id="map"></div>
<div id="info"></div>
#map {
    padding: 5px;
    width: 100%;
    height: 300px;
    box-shadow: 0 0 10px #999;
}
#info {
    padding: 5px;
    width: 100%;
    height: 20px;
    font-family : "monospace" ;
    font-size: 10px;
}