The line of code for adding Google Maps to OpenLayers 3 or 4 is: new ol.layer.Tile({ source: new ol.source.TileImage({url: 'http://mt0.google.com/vt/lyrs=m&x={x}&y={y}&z={z}'}) }) -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html