Extension:MultiMaps/pl

Category:Unmaintained extensions/pl#MultiMaps/pl Category:GPL licensed extensions/pl
Podręcznik rozszerzeń MediaWiki
MultiMaps
Status wydania: niewspieraneCategory:Unmaintained extensions/pl
Realizacja Rozszerzenie parsera Category:Parser extensions/pl
Opis Allows users to display maps and coordinate data using multiple mapping services
Autor(zy) Pavel Astakhov (pastakhovdyskusja)
Ostatnia wersja 0.7.3 (2019-06-15)
MediaWiki Category:Extensions without MediaWiki version
PHP 5.3+
Zmiany w bazie danych Nie
Licencja Licencja GNU General Public License 2.0 lub nowsza
Pobieranie Category:Extensions in Wikimedia version control/pl
Przykład osmwiki:Wiki:Maps
  • $egMultiMaps_AllowGeocoderTests
  • $egMultiMaps_CoordinatesSeparator
  • $egMultiMaps_DefaultZoom
  • $egMultiMaps_DelimiterParam
  • $egMultiMaps_DelimiterParam
  • $egMultiMaps_GoogleApiKey
  • $egMultiMaps_Height
  • $egMultiMaps_IconAllowFromDirectory
  • $egMultiMaps_IconPath
  • $egMultiMaps_MapServices
  • $egMultiMaps_SeparatorItems
  • $egMultiMaps_Width
  • $egMultiMaps_YandexApiKey
multimaps
Quarterly downloads 2 (Ranked 93rd)
Translate the MultiMaps extension
Problemy Otwarte zadania · Zgłoś błąd
Category:All extensions/plCategory:Extensions not in ExtensionJson

The MultiMaps extension allows users to display maps and coordinate data using multiple mapping services. Currently available maps are openstreetmap (by service leaflet), google, yandex and they can display markers, lines, polygons, rectangles, circles. Starting in version 0.7.3, it is also possible to assign an additional URL to a service.

If possible, the parameter syntax will be compatible with Maps extension.

Documentation

Strona główna: Documentation

To quickly display a map with all-default settings at position N10° and E10°, write:

{{#multimaps: 10, 10
}}

Example

Example available at:

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie MultiMaps w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/MultiMaps
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    require_once "$IP/extensions/MultiMaps/MultiMaps.php";
    
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.Category:Extensions not using extension registration/pl

Konfiguracja

Configuration settings (defaults defined in Settings.php)
Parameter Default Comment
$egMultiMaps_AllowGeocoderTests false
$egMultiMaps_MapServices
[
 'Leaflet',
 'Google',
 'Yandex',
 'Wikimedia' => [
  'service' => 'Leaflet',
  'attribution' => '<a href="https://wikimediafoundation.org/wiki/Maps_Terms_of_Use">Wikimedia maps</a> | Map data &copy; <a href="osm.org/copyright">OpenStreetMap contributors</a>',
  'source' => 'https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png',
 ]
];
lists all map services provided to the wiki users, first entry is default

Since version 0.7.3 it is possible to specify different tile addresses and attribution notices and link them to a service as seen with Wikimedia. The source attribute is provided in Leaflet notation here. For TMS sources, use {-y}.

$egMultiMaps_DefaultZoom 14 default zoom level of map displays, can be configured individually for each map using zoom parameter
$egMultiMaps_SeparatorItems ';'
$egMultiMaps_DelimiterParam '~'
$egMultiMaps_OptionsSeparator ',' delimiter between latitude and longitude
$egMultiMaps_CoordinatesSeparator ':' Geographic coordinates can be a delimited list of values ​​specified in the variable.
$egMultiMaps_Width 'auto' default width of map displays, can be configured individually for each map using width parameter
$egMultiMaps_Height '350px' default height of map displays, can be configured individually for each map using height parameter
$egMultiMaps_IconAllowFromDirectory false If true, allow specify an icon for the marker from the directory
$egMultiMaps_IconPath "$wgScriptPath/mapicons" provide a source for map icons using a URL

An overview of OpenStreetMap-based map styles is located at osmwiki:Tile servers. Please always remember to review their usage policy before using.

Zobacz też

Category:Map extensions/pl
Category:All extensions/pl Category:Extensions in Wikimedia version control/pl Category:Extensions not in ExtensionJson Category:Extensions not using extension registration/pl Category:Extensions without MediaWiki version Category:GPL licensed extensions/pl Category:Map extensions/pl Category:ParserFirstCallInit extensions/pl Category:Parser extensions/pl Category:UnitTestsList extensions/pl Category:Unmaintained extensions/pl