White space changes
Changed '//\t' to '// ' to adhare to how all other comments are
being done.
@@ -92,8 +92,6 @@ func (req *HandleMapLayerZXY) parseURI(r *http.Request) error {
return nil
}
-func (req HandleMapLayerZXY) Scheme() string { return "/maps/:map_name/:layer_name/:z/:x/:y" }
-
// URI scheme: /maps/:map_name/:layer_name/:z/:x/:y
// map_name - map name in the config file
// layer_name - name of the single map layer to render
@@ -119,8 +117,8 @@ func (req HandleMapLayerZXY) ServeHTTP(w http.ResponseWriter, r *http.Request) {
tile := slippy.NewTile(req.z, req.x, req.y, TileBuffer, tegola.WebMercator)
- // filter down the layers we need for this zoom
m = m.FilterLayersByZoom(req.z).FilterLayersByName(req.layerName)
+ // filter down the layers we need for this zoom
// check for the debug query string
if req.debug {
