File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 </ head >
4545 < body >
4646 < mapml-viewer projection ="OSMTILE " zoom ="11 " lat ="48.8566 " lon ="2.3522 ">
47- < layer- src ="https://geogratis.gc.ca/mapml/en/osmtile/osm/ " checked > </ layer- >
47+ < map-caption > Paris, the City of Lights</ map-caption >
48+ < layer- label ="OpenStreetMap " checked >
49+ < link rel ="license " title ="© OpenStreetMap contributors CC BY-SA " href ="https://www.openstreetmap.org/copyright "> </ link >
50+ < map-extent units ="OSMTILE " >
51+ < map-input name ="z " type ="zoom " value ="18 " min ="0 " max ="18 "> </ map-input >
52+ < map-input name ="x " type ="location " units ="tilematrix " axis ="column " min ="0 " max ="262144 " > </ map-input >
53+ < map-input name ="y " type ="location " units ="tilematrix " axis ="row " min ="0 " max ="262144 " > </ map-input >
54+ < map-link rel ="tile " tref ="https://tile.openstreetmap.org/{z}/{x}/{y}.png " />
55+ </ map-extent >
56+ </ layer- >
4857 </ mapml-viewer >
4958 </ body >
5059</ html >
Original file line number Diff line number Diff line change 4343 </ noscript >
4444 </ head >
4545 < body >
46- < mapml-viewer projection ="CBMTILE " zoom ="15 " lat ="45.4215 " lon ="-75.6972 " controls >
46+ < mapml-viewer projection ="CBMTILE " zoom ="15 " lat ="45.4215 " lon ="-75.6972 " controls controlslist =" geolocation " >
4747 < layer- label ="Canada Base Map - Transportation (CBMT) " src ="https://geogratis.gc.ca/mapml/en/cbmtile/cbmt/ " checked > </ layer- >
4848 </ mapml-viewer >
4949 </ body >
Original file line number Diff line number Diff line change @@ -818,16 +818,16 @@ <h4>Examples</h4>
818818 </ p >
819819
820820 < pre >
821- <map zoom="11" lat="48.8566" lon="2.3522">
821+ <mapml-viewer zoom="11" lat="48.8566" lon="2.3522">
822822 <layer src="https://example.com/mapml/osm/" checked crossorigin></layer>
823- </map >
823+ </mapml-viewer >
824824 </ pre >
825825 </ aside >
826826
827827 < aside class ="example ">
828828 < p >
829829 A map of Ottawa,
830- with the default controls enabled and dimensions specified:
830+ with default and non- default controls enabled, and dimensions specified:
831831 </ p >
832832
833833 < iframe class ="authoring-example " title ="Authoring example 2 " src ="examples/map-2.html " width ="600 " height ="350 " loading ="lazy "> </ iframe >
@@ -837,7 +837,7 @@ <h4>Examples</h4>
837837 </ p >
838838
839839 < pre >
840- <mapml-viewer projection="CBMTILE" zoom="15" lat="45.4215" lon="-75.6972" width="600" height="350" controls>
840+ <mapml-viewer projection="CBMTILE" zoom="15" lat="45.4215" lon="-75.6972" width="600" height="350" controls controlslist="geolocation" >
841841 <layer label="Canada Base Map - Transportation (CBMT)" src="https://example.com/mapml/cbmt/" checked crossorigin></layer>
842842 </mapml-viewer>
843843 </ pre >
You can’t perform that action at this time.
0 commit comments