Skip to content

Commit 882365f

Browse files
authored
Merge pull request #233 from ahmadayubi/htmlNamespace
Change namespace of .mapml data to xhtml
2 parents 0b3636d + dbfd92b commit 882365f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+61
-57
lines changed

debug/cbmt-test.mapml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<mapml>
1+
<mapml xmlns="https://www.w3.org/1999/xhtml/">
22
<head>
33
<title>Canada Base Map - Transportation (CBMT)</title>
44
<meta http-equiv="Content-Type" content="text/mapml;projection=CBMTILE" />

test/e2e/data/tiles/cbmt/alabama_feature.mapml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<mapml>
1+
<mapml xmlns="https://www.w3.org/1999/xhtml/">
22
<head>
33
<title>Natural Resources Canada's CanVec+ 031G - Map Markup Language</title>
44
<meta http-equiv="Content-Type" content="text/mapml;projection=WGS84;zoom=2"/>

test/e2e/data/tiles/cbmt/cbmt.mapml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
<mapml>
1+
<mapml xmlns="https://www.w3.org/1999/xhtml/">
2+
23
<head>
34
<title>Canada Base Map - Transportation (CBMT)</title>
4-
<meta http-equiv="Content-Type" content="text/mapml;projection=CBMTILE"/>
5-
<meta charset="utf-8"/>
6-
<base href=""/>
7-
<link rel="license" href="https://www.nrcan.gc.ca/earth-sciences/geography/topographic-information/free-data-geogratis/licence/17285" title="Canada Base Map © Natural Resources Canada"/>
8-
<link rel="zoomin" href="/mapml/en/cbmtile/cbmt/?z=18" type="text/mapml"/>
5+
<meta http-equiv="Content-Type" content="text/mapml;projection=CBMTILE" />
6+
<meta charset="utf-8" />
7+
<base href="" />
8+
<link rel="license"
9+
href="https://www.nrcan.gc.ca/earth-sciences/geography/topographic-information/free-data-geogratis/licence/17285"
10+
title="Canada Base Map © Natural Resources Canada" />
11+
<link rel="zoomin" href="/mapml/en/cbmtile/cbmt/?z=18" type="text/mapml" />
912
</head>
13+
1014
<body>
1115
<extent units="CBMTILE">
12-
<input name="z" type="zoom" value="17" min="0" max="17"/>
13-
<input name="y" type="location" units="tilematrix" axis="row" min="29750" max="34475" />
14-
<input name="x" type="location" units="tilematrix" axis="column" min="26484" max="32463" />
15-
<link rel="tile" tref="cbmt/{z}/c{x}_r{y}.png" />
16+
<input name="z" type="zoom" value="17" min="0" max="17" />
17+
<input name="y" type="location" units="tilematrix" axis="row" min="29750" max="34475" />
18+
<input name="x" type="location" units="tilematrix" axis="column" min="26484" max="32463" />
19+
<link rel="tile" tref="cbmt/{z}/c{x}_r{y}.png" />
1620
</extent>
1721
</body>
1822
</mapml>

test/e2e/data/tiles/cbmt/templatedImage.mapml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<mapml>
1+
<mapml xmlns="https://www.w3.org/1999/xhtml/">
22
<head>
33
<title>Toporama</title>
44
<meta charset="utf-8"/>

test/e2e/data/tiles/cbmt/us_pop_density.mapml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<mapml>
1+
<mapml xmlns="https://www.w3.org/1999/xhtml/">
22
<head>
33
<title>US Population Density</title>
44
<meta http-equiv="Content-Type" content="text/mapml"/>

test/e2e/data/tiles/wgs84/0/r0_c0.mapml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<mapml>
1+
<mapml xmlns="https://www.w3.org/1999/xhtml/">
22
<head>
33
<title>ne_10m_admin_0_countries</title>
44

test/e2e/data/tiles/wgs84/0/r0_c1.mapml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<mapml>
1+
<mapml xmlns="https://www.w3.org/1999/xhtml/">
22
<head>
33
<title>ne_10m_admin_0_countries</title>
44

test/e2e/data/tiles/wgs84/1/r0_c0.mapml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<mapml>
1+
<mapml xmlns="https://www.w3.org/1999/xhtml/">
22
<head>
33
<title>ne_10m_admin_0_countries</title>
44

test/e2e/data/tiles/wgs84/1/r0_c1.mapml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<mapml>
1+
<mapml xmlns="https://www.w3.org/1999/xhtml/">
22
<head>
33
<title>ne_10m_admin_0_countries</title>
44

test/e2e/data/tiles/wgs84/1/r0_c2.mapml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<mapml>
1+
<mapml xmlns="https://www.w3.org/1999/xhtml/">
22
<head>
33
<title>ne_10m_admin_0_countries</title>
44

0 commit comments

Comments
 (0)