Please check the updated MapTiler OpenLayers examples on how to create maps with OpenLayers.
Some of the Leaflet JS examples:
- How to use Vector Tiles in OpenLayers
- How to search places using OpenLayers geocoding control
- How to show Point data from GeoJSON on the Map with OpenLayers
- How to create a choropleth Map from GeoJSON using OpenLayers
... and more extra OpenLayers Examples