Break up tiled-map-renderer into separate functions
Add commented example