How to use local stored X/Y/Z.png tiles from OpenLayers 3

Viewed 8574

In the OpenStreetMap Wiki there is a nice example about how to use Local Tiles with OpenLayers, but this is for version 2 of OpenLayers. I'm looking for the same with OpenLayers 3. Are there any good examples of how to do this?

Thanks in advance.

3 Answers
Related