Skip to content

Commit

Permalink
Share restaurants between examples. Update feature tabindex in featur…
Browse files Browse the repository at this point in the history
…e linking example. (#92)

* Update dist to pre-integrate work from Maps4HTML/MapML.js#596
Hopefully won't mess up history too badly, should get overwritten when
that PR is merged.

* [AUTO] Sync MapML Build

* [AUTO] Sync MapML Build

* Share restaurants across examples. Add tabindex to building part example.

Update RTL experiment to use shared restaurants.mapml
  • Loading branch information
prushforth authored Jan 12, 2022
1 parent 628b49a commit 7892036
Show file tree
Hide file tree
Showing 50 changed files with 237 additions and 61,271 deletions.
21 changes: 18 additions & 3 deletions i18n/rtl/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,24 @@
<link rel="stylesheet" href="../../global.css">
</head>
<body>
<mapml-viewer dir="rtl" projection="CBMTILE" zoom="17" lat="45.4069740362364" lon="-75.70155300710053" controls>
<layer- label="CBMT" src="https://geogratis.gc.ca/mapml/en/cbmtile/cbmt/" checked></layer->
<layer- label="Ottawa Restaurants" src="restaurants.mapml" checked></layer->
<mapml-viewer dir="rtl" projection="OSMTILE" zoom="15" lat="45.4069740362364" lon="-75.70155300710053" controls>
<layer- label="CBMT" src="https://geogratis.gc.ca/mapml/en/osmtile/cbmt/" checked></layer->
<layer- id="restaurant" label="Ottawa Restaurants" checked>
<map-meta name="cs" content="gcrs" ></map-meta>
<map-meta name="extent" content="top-left-easting=-8433179, top-left-northing=5689316, bottom-right-easting=-8420968, bottom-right-northing=5683139"></map-meta>
<map-extent units="OSMTILE">
<map-select id="restaurants" name="cusine">
<map-option value="restaurants" selected>All cuisines</map-option>
<map-option value="african">African</map-option>
<map-option value="asian">Asian</map-option>
<map-option value="cajun">Cajun</map-option>
<map-option value="indian">Indian</map-option>
<map-option value="italian">Italian</map-option>
<map-option value="mexican">Mexican</map-option>
</map-select>
<map-link tref="../../shared/restaurants/{cusine}.mapml" rel="features"/>
</map-extent>
</layer->
</mapml-viewer>
</body>
</html>
386 changes: 0 additions & 386 deletions i18n/rtl/restaurants.mapml

This file was deleted.

1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ <h2>Styling</h2>
<h2>Miscellaneous</h2>
<ul class="example">
<li>Snow and Ice Probability: <a href="datacube/">Time Dimension &lt;select&gt;</a></li>
<li><a href="multiple-extents/">Multiple &lt;map-extent&gt; elements in a layer</a></li>
</ul>
</section>
</body>
Expand Down
2 changes: 1 addition & 1 deletion linking/features/sportsplex.mapml
Original file line number Diff line number Diff line change
Expand Up @@ -3549,7 +3549,7 @@
<map-polygon>
<map-coordinates>
1510099.2 -181123.3 1510100.4 -181122.9 1510101.1 -181122.7 1510101.1 -181122.8 1510101.4 -181122.7 1510101.4 -181122.5 1510101.3 -181122.3 1510103.8 -181121.6
<map-span class="door leaflet-interactive" aria-label="door" style="stroke: yellow; stroke-width: 4px">1510104.9 -181125.0 1510105.20 -181126</map-span> 1510106.1 -181129.0 1510107.1 -181132.3 1510104.1 -181133.3 1510102.0 -181132.1 1510099.2 -181123.3</map-coordinates>
<map-span class="door leaflet-interactive" tabindex="0" aria-label="door" style="stroke: yellow; stroke-width: 4px">1510104.9 -181125.0 1510105.20 -181126</map-span> 1510106.1 -181129.0 1510107.1 -181132.3 1510104.1 -181133.3 1510102.0 -181132.1 1510099.2 -181123.3</map-coordinates>
</map-polygon>
<map-polygon>
<map-coordinates>1510108.2 -181118.9 1510109.7 -181123.4 1510104.9 -181124.9 1510103.9 -181121.5 1510105.3 -181121.0 1510105.4 -181121.4 1510105.7 -181121.3 1510105.3 -181119.8 1510108.2 -181118.9</map-coordinates>
Expand Down
Binary file removed multiple-extents/dist/images/layers-2x.png
Binary file not shown.
Binary file removed multiple-extents/dist/images/layers.png
Binary file not shown.
Binary file removed multiple-extents/dist/images/marker-icon-2x.png
Binary file not shown.
Binary file removed multiple-extents/dist/images/marker-icon.png
Binary file not shown.
Binary file removed multiple-extents/dist/images/marker-shadow.png
Binary file not shown.
79 changes: 0 additions & 79 deletions multiple-extents/dist/index.html

This file was deleted.

Loading

0 comments on commit 7892036

Please sign in to comment.