def getTile(layer, coord, extension, ignore_cached=False):
 (status_code, headers, body) = layer.getTileResponse(coord, extension, ignore_cached)
 mime = headers.get('Content-Type')
 return (mime, body)

def getTile ( layer , coord , extension , ignore_cached = False ) : ( status_code , headers , body ) = layer . getTileResponse ( coord , extension , ignore_cached ) mime = headers . get ( 'Content-Type' ) return ( mime , body )
get a type string and tile binary for a given request layer tile .