Skip to content

Commit 8f19bd8

Browse files
committed
Refactor all web-map references to depend on mapml-viewer.js only
1 parent d9dce91 commit 8f19bd8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/elements/web-map.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The following markup may work on Chrome and Firefox, although it may take some f
3737
</map>
3838
```
3939

40-
To experiment with the `web-map` and `map-area` custom elements, you should link your `<script type="module" src="web-map.js"></script>` to the `web-map.js` file that is built by the web-map custom element suite build process.
40+
To experiment with the `web-map` and `map-area` custom elements, you should link your `<script type="module" src="mapml-viewer.js"></script>` to the `mapml-viewer.js` file that is built by the MapML.js build process.
4141

4242
In theory, if you take steps to provide the fallback markup, a normal (progressive) Web map experience will be had by most users, while those using an older browser or perhaps even Safari may get the "fallback" client side image map experience.
4343

i18n/fr/docusaurus-plugin-content-docs/current/elements/web-map.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Le balisage suivant pourrait fonctionner dans Chrome et Firefox, mais il pourrai
3737
</map>
3838
```
3939

40-
Pour expérimenter les éléments personnalisés `web-map` et `map-area`, vous devriez lier votre `<script type="module" src="web-map.js"></script>` au fichier `web-map.js` créé par le processus de génération des éléments personnalisés de cartes Web.
40+
Pour expérimenter les éléments personnalisés `web-map` et `map-area`, vous devriez lier votre `<script type="module" src="mapml-viewer.js"></script>` au fichier `mapml-viewer.js` créé par le processus de génération des éléments personnalisés de cartes Web / MapML.js.
4141

4242
En théorie, si vous prenez des mesures pour fournir un balisage alternatif, la plupart des utilisateurs auront une expérience normale (progressive) avec la carte Web, tandis que ceux qui utilisent un ancien navigateur ou même Safari pourraient obtenir une expérience inverse avec l’image cliquable côté client.
4343

0 commit comments

Comments
 (0)