Special page that works as a fallback destination for non-JS users who click on map links.
More...
|
static | parseSubpage ( $par) |
| Parses subpage parameter to this special page into zoom / lat /lon.
|
|
static | link ( $lat, $lon, $zoom, $lang='local') |
| Returns a Title for a link to the coordinates provided.
|
|
Special page that works as a fallback destination for non-JS users who click on map links.
It displays a world map with a dot for the given location. URL format: Special:Map/<zoom>/<lat>/<lon> Zoom isn't used anywhere yet.
◆ __construct()
Kartographer\SpecialMap::__construct |
( |
|
$name = 'Map' | ) |
|
◆ link()
static Kartographer\SpecialMap::link |
( |
|
$lat, |
|
|
|
$lon, |
|
|
|
$zoom, |
|
|
|
$lang = 'local' |
|
) |
| |
|
static |
Returns a Title for a link to the coordinates provided.
- Parameters
-
float | $lat | |
float | $lon | |
int | $zoom | |
string | $lang | Optional language code. Defaults to 'local' |
- Returns
- Title
◆ parseSubpage()
static Kartographer\SpecialMap::parseSubpage |
( |
|
$par | ) |
|
|
static |
Parses subpage parameter to this special page into zoom / lat /lon.
- Parameters
-
- Returns
- array|false
The documentation for this class was generated from the following file: