Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Genesys Backend Genesys Backend
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 29
    • Issues 29
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Genesys PGRGenesys PGR
  • Genesys BackendGenesys Backend
  • Issues
  • #303
Closed
Open
Issue created Aug 23, 2018 by Matija Obreza@mobrezaOwner

TileController

Implement a new org.genesys2.server.api.v1.TileController with a single method tile (copy the method from ExplorerController). The new method must rely only on the filterCode and not on filters object.

Even if this is in the api.v1 package, it should not use the /api/v1 path prefix so that it bypasses the OAuth.

@RequestMapping(value = "/explore/tile/{zoom}/{x}/{y}/{filterCode}", produces = MediaType.IMAGE_PNG_VALUE)
public void tile(@PathVariable(value = "filterCode", required = true) String filterCode,
			 @RequestParam(value = "color", required = false) String color,
			 @PathVariable("x") int x, @PathVariable("y") int y, @PathVariable("zoom") int zoom,
			 HttpServletResponse response) {
...
}

Note: If it the mapping clashes with ExplorerController#tile mapping, then use just /tile/{zoom}...

Assignee
Assign to
Time tracking