Add comments
This commit is contained in:
parent
11099c88dc
commit
5aa63d35ce
@ -41,7 +41,9 @@ module.exports = class TileLayergroupController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
register (mapRouter) {
|
register (mapRouter) {
|
||||||
|
// REGEXP matches with positive and negative numnbers
|
||||||
const number = () => `(-?\\d+)`;
|
const number = () => `(-?\\d+)`;
|
||||||
|
// REGEXP doesn't match with `val`
|
||||||
const not = (val) => `(?!${val})([^\/]+?)`;
|
const not = (val) => `(?!${val})([^\/]+?)`;
|
||||||
|
|
||||||
mapRouter.get(
|
mapRouter.get(
|
||||||
|
Loading…
Reference in New Issue
Block a user