This question already has an answer here:
Recently, I immigrated to the OpenLayers 4 and I've just wondered if there is any 3rd-party or plugins in order to add Google Maps layers such as Satellite, Hybrid and etc in my project. How should I achieve this?
Why isn't it support anymore?
I see the below link in
StackExchange. Someone says that we can use
leaflet instead of OpenLayers, which isn't my goal and someone else introduced the
ol3-google-maps plugin which integrated Google Maps into the OL3. but it's named
OL3 and I confused about it. Can I use it with OpenLayers 4 and is it compatible well?