make it work with both vector and image. note that vector tile will be
returned only if we name the style in renderd.conf file to "vector"