This example illustrates a few features of the <mapml-viewer>, as well as some concepts from MapML that it supports:
- Making whole features into map links: <map-geometry><map-a href="...">...</map-a></map-geometry>
- Linking to a location within the current map using a URL fragment like href="#zoom,longitude,latitude"
- Different representations of the same feature at different zoom levels / scales.
- Declarative scaling of features and tiles beyond their 'native' zoom level, to support extremely responsive images (<map-meta name="zoom" content="min=0,max=7">)
- Default link style for map-a element (hyperlink blue)
- Support for the tms link attribute: <link rel="tile" tms tref="...">
Girl - zoom=2
-158.561948 -69.558455 -159.440739 -70.832538 -162.384689 -75.709198 -160.890744 -78.916371 -159.371228 -80.304936 -154.563449 -79.751115 -157.683157 -69.646323 -158.561948 -69.558455
Girl - zoom=5
-158.561948 -69.558455 -159.440739 -70.832538 -162.384689 -75.709198 -160.890744 -78.916371 -159.371228 -80.304936 -154.563449 -79.751115 -157.683157 -69.646323 -158.561948 -69.558455
Boy
-159.659797 -70.786203 -159.659797 -62.175162 -162.296170 -62.175162 -162.296170 -70.786203 -159.659797 -70.786203
Parents
-160.012339 -51.105128 -155.706263 -51.280864 -155.047170 -58.969293 -160.363856 -58.749623 -160.012339 -51.105128