]> Raphaƫl G. Git Repositories - packbundle/blob - Resources/config/routes/rapsys_pack.yaml
Add map controller routes
[packbundle] / Resources / config / routes / rapsys_pack.yaml
1 #Routes configuration
2 rapsys_pack_map:
3 path: '/map/{hash<[a-zA-Z0-9=_-]+>}/{updated<\d+>}/{latitude<\d+\.?\d*>}/{longitude<\d+\.?\d*>}/{zoom<\d+>?17}/{width<\d+>?640}/{height<\d+>?640}.{_format?jpeg}'
4 controller: Rapsys\PackBundle\Controller\MapController::map
5 methods: GET
6
7 rapsys_pack_multimap:
8 path: '/multimap/{hash<[a-zA-Z0-9=_-]+>}/{updated<\d+>}/{latitude<\d+\.?\d*>}/{longitude<\d+\.?\d*>}/{coordinates<\d+(\.\d+)*,\d+(\.\d+)*(-\d+(\.\d+)*,\d+(\.\d+)*)*>}/{zoom<\d+>?15}/{width<\d+>?640}/{height<\d+>?640}.{_format?jpeg}'
9 controller: Rapsys\PackBundle\Controller\MapController::multimap
10 methods: GET