Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
mapy [2011/04/11 19:49] ludekv |
mapy [2015/11/02 21:22] (aktuální) |
||
---|---|---|---|
Řádek 39: | Řádek 39: | ||
| | | |**maxZoom** |největší povolený zoom (největší detail)| | | | | |**maxZoom** |největší povolený zoom (největší detail)| | ||
- | Následují bloky nastavení pro různé zdroje map. Můžete si sestavit vlastní konfigurační soubor, který bude obsahovat právě ty mapy, které se vám hodí. | + | Vzorové nastavení pro různé zdroje map najdete ve [[user:zdroje_map|wiki části dokumentace]]. |
- | + | ||
- | Postup: | + | |
- | + | ||
- | - Zkopírujte soubor map-config.xml do PC a otevřete ho pomocí notepadu nebo jiného obyčejného textového editoru (ne MS Word). | + | |
- | - Postupně zkopírujte konfigurace pro mapy, které chcete použít. | + | |
- | - Zkontrolujte, že výsledný soubor má na začátku tag <PocketDrake> a na konci </PocketDrake>. | + | |
- | + | ||
- | + | ||
- | + | ||
- | ===== Nastavení pro www.mapy.cz ===== | + | |
- | [[http://www.mapy.cz|www.mapy.cz]] | + | |
- | + | ||
- | <code xml> | + | |
- | <MapSource> | + | |
- | <type>MapyCz</type> | + | |
- | <name>Mapy CZ</name> | + | |
- | <MapType mode="basic"> | + | |
- | <name>Turistická</name> | + | |
- | <file>turist</file> | + | |
- | <url>http://m1.mapserver.mapy.cz/turist/{z}_{x}_{y}</url> | + | |
- | <defaultZoom>ab</defaultZoom> | + | |
- | <minZoom>3</minZoom> | + | |
- | <maxZoom>13</maxZoom> | + | |
- | </MapType> | + | |
- | <MapType mode="basic"> | + | |
- | <name>Základní</name> | + | |
- | <file>base-n</file> | + | |
- | <url>http://m1.mapserver.mapy.cz/base-n/{z}_{x}_{y}</url> | + | |
- | <defaultZoom>12</defaultZoom> | + | |
- | <minZoom>3</minZoom> | + | |
- | <maxZoom>16</maxZoom> | + | |
- | </MapType> | + | |
- | <MapType mode="basic"> | + | |
- | <name>Ortofoto</name> | + | |
- | <file>ophoto</file> | + | |
- | <url>http://m1.mapserver.mapy.cz/ophoto/{z}_{x}_{y}</url> | + | |
- | <defaultZoom>12</defaultZoom> | + | |
- | <minZoom>3</minZoom> | + | |
- | <maxZoom>17</maxZoom> | + | |
- | </MapType> | + | |
- | <MapType mode="overlay"> | + | |
- | <name>Turistické trasy</name> | + | |
- | <file>ttur</file> | + | |
- | <url>http://m1.mapserver.mapy.cz/ttur/{z}_{x}_{y}</url> | + | |
- | <defaultZoom>12</defaultZoom> | + | |
- | <minZoom>3</minZoom> | + | |
- | <maxZoom>13</maxZoom> | + | |
- | </MapType> | + | |
- | <MapType mode="overlay"> | + | |
- | <name>Cyklotrasy</name> | + | |
- | <file>tcyklo</file> | + | |
- | <url>http://m1.mapserver.mapy.cz/tcyklo/{z}_{x}_{y}</url> | + | |
- | <defaultZoom>12</defaultZoom> | + | |
- | <minZoom>3</minZoom> | + | |
- | <maxZoom>13</maxZoom> | + | |
- | </MapType> | + | |
- | </MapSource> | + | |
- | </code> | + | |
- | + | ||
- | ===== Nastavení pro Google Maps ===== | + | |
- | [[http://maps.google.com|Google Maps]] | + | |
- | + | ||
- | <code xml> | + | |
- | <MapSource> | + | |
- | <type>Google</type> | + | |
- | <name>Google Maps</name> | + | |
- | <MapType mode="basic"> | + | |
- | <name>Základní</name> | + | |
- | <file>google\map</file> | + | |
- | <url>http://mt0.google.com/vt/x={x}&y={y}&z={z}</url> | + | |
- | <defaultZoom>14</defaultZoom> | + | |
- | <minZoom>1</minZoom> | + | |
- | <maxZoom>18</maxZoom> | + | |
- | </MapType> | + | |
- | <MapType mode="basic"> | + | |
- | <name>Satelitní</name> | + | |
- | <file>google\sat</file> | + | |
- | <url>http://khm1.google.com/kh/v=63&x={x}&y={y}&z={z}</url> | + | |
- | <defaultZoom>14</defaultZoom> | + | |
- | <minZoom>1</minZoom> | + | |
- | <maxZoom>18</maxZoom> | + | |
- | </MapType> | + | |
- | <MapType mode="basic"> | + | |
- | <name>Terénní</name> | + | |
- | <file>google\terr</file> | + | |
- | <url>http://mt0.google.com/vt/lyrs=t@126,r@142&hl=cs&x={x}&y={y}&z={z}</url> | + | |
- | <defaultZoom>14</defaultZoom> | + | |
- | <minZoom>1</minZoom> | + | |
- | <maxZoom>18</maxZoom> | + | |
- | </MapType> | + | |
- | </MapSource> | + | |
- | </code> | + | |
- | + | ||
- | ===== Nastavení pro MyTopo (pouze USA) ===== | + | |
- | [[http://www.mytopo.com/maps/|MyTopo (pouze USA)]] | + | |
- | <code xml> | + | |
- | <MapSource> | + | |
- | <type>Google</type> | + | |
- | <name>MyTopo (pouze USA)</name> | + | |
- | <MapType mode="basic"> | + | |
- | <name>Základní</name> | + | |
- | <file>mytopo</file> | + | |
- | <url> | + | |
- | http://maps.mytopo.com/groundspeak/tilecache.py/1.0.0/topoG/{z}/{x}/{y}.png | + | |
- | </url> | + | |
- | <defaultZoom>14</defaultZoom> | + | |
- | <minZoom>1</minZoom> | + | |
- | <maxZoom>18</maxZoom> | + | |
- | </MapType> | + | |
- | </MapSource> | + | |
- | </code> | + | |
- | + | ||
- | ===== Nastavení pro Open Street Maps ===== | + | |
- | [[http://www.openstreetmap.org/|Open Street Maps]] | + | |
- | <code xml> | + | |
- | <MapSource> | + | |
- | <type>Google</type> | + | |
- | <name>Open Street Map</name> | + | |
- | <MapType mode="basic"> | + | |
- | <name>Základní</name> | + | |
- | <file>osm</file> | + | |
- | <url>http://a.tile.openstreetmap.org/{z}/{x}/{y}.png</url> | + | |
- | <defaultZoom>14</defaultZoom> | + | |
- | <minZoom>1</minZoom> | + | |
- | <maxZoom>18</maxZoom> | + | |
- | </MapType> | + | |
- | </MapSource> | + | |
- | </code> | + | |
- | + | ||
- | ===== Nastavení pro Cykloatlas ===== | + | |
- | [[http://www.cykloserver.cz/cykloatlas/|Cykloatlas]] | + | |
- | <code xml> | + | |
- | <MapSource> | + | |
- | <type>Google</type> | + | |
- | <name>Cykloatlas</name> | + | |
- | <MapType mode="basic"> | + | |
- | <name>Základní</name> | + | |
- | <file>cykloatlas</file> | + | |
- | <url>http://services.tmapserver.cz/tiles/gm/shc/{z}c/{x}/{y}.png</url> | + | |
- | <requestHeader>Referer: http://www.cykloserver.cz/cykloatlas</requestHeader> | + | |
- | <defaultZoom>14</defaultZoom> | + | |
- | <minZoom>1</minZoom> | + | |
- | <maxZoom>18</maxZoom> | + | |
- | </MapType> | + | |
- | </MapSource> | + | |
- | </code> | + | |
- | + | ||
- | ===== Nastavení pro Freemap Slovakia ===== | + | |
- | [[http://www.freemap.sk/|Freemap Slovakia]] | + | |
- | <code xml> | + | |
- | <MapSource> | + | |
- | <type>Google</type> | + | |
- | <name>Freemap Slovakia</name> | + | |
- | <MapType mode="basic"> | + | |
- | <name>Základní</name> | + | |
- | <file>FMSlovakia</file> | + | |
- | <url>http://www.freemap.sk/layers/allinone/?/BN/{z}/{x}/{y}</url> | + | |
- | <defaultZoom>14</defaultZoom> | + | |
- | <minZoom>1</minZoom> | + | |
- | <maxZoom>18</maxZoom> | + | |
- | </MapType> | + | |
- | </MapSource> | + | |
- | </code> | + | |
- | + | ||
- | ===== Nastavení pro Ovi Nokia ===== | + | |
- | [[http://maps.ovi.com/]] | + | |
- | + | ||
- | <code xml> | + | |
- | <MapSource> | + | |
- | <type>Google</type> | + | |
- | <name>Ovi Nokia</name> | + | |
- | <MapType mode="basic"> | + | |
- | <name>Basic</name> | + | |
- | <file>ovi</file> | + | |
- | <url>http://maptile.maps.svc.ovi.com/maptiler/maptile/newest/normal.day/{z}/{x}/{y}/256/png8</url> | + | |
- | <defaultZoom>12</defaultZoom> | + | |
- | <minZoom>1</minZoom> | + | |
- | <maxZoom>17</maxZoom> | + | |
- | </MapType> | + | |
- | </MapSource> | + | |
- | </code> | + | |
- | + | ||
- | ===== Nastavení pro OutdoorActive DE (německé turistické mapy) ===== | + | |
- | [[http://www.outdooractive.com]] | + | |
- | + | ||
- | <code xml> | + | |
- | <MapSource> | + | |
- | <type>Google</type> | + | |
- | <name>OutdoorActive DE</name> | + | |
- | <MapType mode="basic"> | + | |
- | <name>Basic</name> | + | |
- | <file>outdooractive</file> | + | |
- | <url>http://t0.outdooractive.com/portal/map/{z}/{x}/{y}.png</url> | + | |
- | <defaultZoom>12</defaultZoom> | + | |
- | <minZoom>8</minZoom> | + | |
- | <maxZoom>16</maxZoom> | + | |
- | </MapType> | + | |
- | </MapSource> | + | |
- | </code> | + |