mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-09 04:06:27 -04:00
Change to clearer pin
Former-commit-id: 99b8e400d190b35ec4a4bbf8e50a9f1ce79ee455 [formerly 777b6671ee11523c1357cd608b8faed1cdc3ea0f] [formerly 43f0876c98e33349a7fee953655edee8b2ec444d] [formerly 0be72d7996822f97875dbccd6ae79e48b5cd8084 [formerly 706a30d8fc9ed0d5c47817841eab112336a6c490 [formerly 4ef208b649df4f259ac64b65777693613fc98122]]] Former-commit-id: 443a864a292dd1bca12d74e0000fd68cec55e2a1 [formerly a098eb16317b23568bbcf8b1c2a147922d7c1de4 [formerly b5c76482381719fa24dda845888fc2f16868ddbc]] Former-commit-id: 684f366f6e01525ad6f0927d1498fbbd956f57d3 [formerly 410f4ac858f952eb12d1f2d6736360a396faabf7] Former-commit-id: dbfe9c7e94edd581d4efdb2d8511feb1f8caf7c2
This commit is contained in:
parent
4d2169cf17
commit
1f5b9d9124
@ -54,7 +54,7 @@ let precacheFiles = [
|
||||
"www/img/icons/wikivoyage-90-white.png",
|
||||
"www/img/icons/wikivoyage-black-32.png",
|
||||
"www/img/icons/wikivoyage-white-32.png",
|
||||
"www/img/icons/map_marker-18px.png",
|
||||
"www/img/icons/map_marker-30px.png",
|
||||
"www/img/spinner.gif",
|
||||
"www/index.html",
|
||||
"www/article.html",
|
||||
|
BIN
www/img/icons/map_marker-50px.png
Normal file
BIN
www/img/icons/map_marker-50px.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
@ -313,7 +313,7 @@
|
||||
<a href="#searchSyntax">Title search</a>). <b><i>Note that this app cannot (yet) do full text search of the contents of all articles in a ZIM.</i></b>
|
||||
</p>
|
||||
<p>
|
||||
On some Wikivoyage (English and German) pages you will see map pins: <img src="img/icons/map_marker-18px.png" />. On Windows 10/11, you can
|
||||
On some Wikivoyage (English and German) pages you will see map pins: <img src="img/icons/map_marker-30px.png" width="18px" />. On Windows 10/11, you can
|
||||
tap this icon to open the <b>Maps app</b> at the selected location. In the UWP and PWA versions of this app, this will work offline if you have downloaded
|
||||
the map for the relevant country or region in the Settings for <b>Offline Maps</b>. In Configuration, you can change this action so that the pin opens
|
||||
an <b>online</b> OpenStreetMap centred on the map pin instead.
|
||||
@ -874,10 +874,10 @@
|
||||
<span class="checkmark"></span>
|
||||
<b>Open all headings</b> (<i>for WikiMedia ZIMs</i>: sets the state of collapsible headings on article load)
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<label class="checkbox" title="By default, this app will use the Windows Maps app when you click on a Wikivoyage map pin (download offline maps in Windows Settings -> Offline maps). If you prefer to use OpenStreetMap (online), then check this box. Map pins are currently only supported in English and German Wikivoyage ZIMs.">
|
||||
<input type="checkbox" name="useOSM" id="useOSMCheck">
|
||||
<span class="checkmark"></span>
|
||||
<b>Open Wikivoyage map pins with online OpenSteetMap instead of offline Maps app</b> (<i>for Wikivoyage English and German ZIMs</i>)
|
||||
<b>Use online OpenStreetMap for map pins instead of offline Windows Maps</b> (for English and German Wikivoyage)
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -3720,7 +3720,7 @@ define(['jquery', 'zimArchiveLoader', 'uiUtil', 'util', 'cache', 'images', 'sett
|
||||
if (/openstreetmap/.test(params.mapsURI)) {
|
||||
html = '<a href="' + params.mapsURI + '?mlat=' + latitude + '&mlon=' + longitude + '#map=18/' + latitude + '/' + longitude + '">\r\n';
|
||||
}
|
||||
html += '<img alt="Map marker" title="Diesen Ort auf einer Karte zeigen" src="app:///www/img/icons/map_marker-18px.png" style="position:relative !important;top:-5px !important;margin-top:5px !important" />\r\n</a>' + href;
|
||||
html += '<img alt="Map marker" title="Diesen Ort auf einer Karte zeigen" src="app:///www/img/icons/map_marker-30px.png" width="18px" style="position:relative !important;top:-5px !important;margin-top:5px !important" />\r\n</a>' + href;
|
||||
return html;
|
||||
});
|
||||
|
||||
@ -3737,7 +3737,7 @@ define(['jquery', 'zimArchiveLoader', 'uiUtil', 'util', 'cache', 'images', 'sett
|
||||
html = hrefAttr + params.mapsURI + '?mlat=' + latitude + '&mlon=' + longitude + '#map=18/' + latitude + '/' + longitude +
|
||||
p4.replace(/style=["']\s?background:[^"']+["']/i, '');
|
||||
}
|
||||
html += '<img alt="Map marker" title="Show this place on a map" src="app:///www/img/icons/map_marker-18px.png" style="position:relative !important;top:-5px !important;" />' + p6 + id;
|
||||
html += '<img alt="Map marker" title="Show this place on a map" src="app:///www/img/icons/map_marker-30px.png" width="18px" style="position:relative !important;top:-5px !important;" />' + p6 + id;
|
||||
return html;
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user