an openlayers map to be pulled from a mysql query and loaded in php to json with a tms server this is just a proof of concept test and a first repo, has some snippets I plan on using for another project soon...
Use anything you find useful, please, attribution is noted where code has been brought in from the amazing Klokan Petr Pridal via gdal2tiles.py