| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class OpenStreetMapBlackAndWhite extends Tile |
||
| 8 | { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * @return string |
||
| 12 | */ |
||
| 13 | public function layer(): string |
||
| 14 | { |
||
| 15 | return 'http://{s}.tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png'; |
||
| 16 | } |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @return string |
||
| 20 | */ |
||
| 21 | public function attribution(): string |
||
| 22 | { |
||
| 23 | return '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'; |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return int |
||
| 28 | */ |
||
| 29 | public function maxZoom(): int |
||
| 32 | } |
||
| 33 | |||
| 34 | } |
||
| 35 |