Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 55 additions & 55 deletions mapml.c

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions msautotest/wxs/expected/mapml_getmapl_cbmtile.xml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
<mapml>
<head>
<title>province</title>
<meta charset="UTF-8"/>
<meta http-equiv="Content-Type" content="text/mapml;projection=CBMTILE"/>
<link rel="license" href="http://some.host.com/attribution.html" title="MapServer MapML Attribution Here"/>
<link rel="legend" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetLegendGraphic&amp;VERSION=1.3.0&amp;FORMAT=image/png&amp;LAYER=province&amp;STYLE=&amp;SLD_VERSION=1.1.0"/>
<link rel="alternate" projection="OSMTILE" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMapML&amp;LAYER=province&amp;STYLE=&amp;PROJECTION=OSMTILE"/>
<link rel="alternate" projection="WGS84" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMapML&amp;LAYER=province&amp;STYLE=&amp;PROJECTION=WGS84"/>
</head>
<body>
<extent units="CBMTILE">
<input name="w" type="width"/>
<input name="h" type="height"/>
<input name="xmin" type="location" units="pcrs" position="top-left" axis="easting" min="1.96856e+06" max="2.9247e+06"/>
<input name="ymin" type="location" units="pcrs" position="bottom-left" axis="northing" min="-291723" max="681667"/>
<input name="xmax" type="location" units="pcrs" position="top-right" axis="easting" min="1.96856e+06" max="2.9247e+06"/>
<input name="ymax" type="location" units="pcrs" position="top-left" axis="northing" min="-291723" max="681667"/>
<link rel="image" tref="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMap&amp;FORMAT=image/png&amp;TRANSPARENT=TRUE&amp;VERSION=1.3.0&amp;LAYERS=province&amp;STYLES=&amp;WIDTH={w}&amp;HEIGHT={h}&amp;CRS=EPSG:3978&amp;BBOX={xmin},{ymin},{xmax},{ymax}&amp;m4h=t"/>
<input name="i" type="location" axis="i" units="map" min="0" max="0"/>
<input name="j" type="location" axis="j" units="map" min="0" max="0"/>
<link rel="query" tref="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetFeatureInfo&amp;INFO_FORMAT=text/mapml&amp;FEATURE_COUNT=1&amp;TRANSPARENT=TRUE&amp;VERSION=1.3.0&amp;LAYERS=province&amp;STYLES=&amp;QUERY_LAYERS=province&amp;WIDTH={w}&amp;HEIGHT={h}&amp;CRS=EPSG:3978&amp;BBOX={xmin},{ymin},{xmax},{ymax}&amp;x={i}&amp;y={j}&amp;m4h=t"/>
<mapml- xmlns="http://www.w3.org/1999/xhtml">
<map-head>
<map-title>province</map-title>
<map-meta charset="UTF-8"/>
<map-meta http-equiv="Content-Type" content="text/mapml;projection=CBMTILE"/>
<map-link rel="license" href="http://some.host.com/attribution.html" title="MapServer MapML Attribution Here"/>
<map-link rel="legend" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetLegendGraphic&amp;VERSION=1.3.0&amp;FORMAT=image/png&amp;LAYER=province&amp;STYLE=&amp;SLD_VERSION=1.1.0"/>
<map-link rel="alternate" projection="OSMTILE" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMapML&amp;LAYER=province&amp;STYLE=&amp;PROJECTION=OSMTILE"/>
<map-link rel="alternate" projection="WGS84" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMapML&amp;LAYER=province&amp;STYLE=&amp;PROJECTION=WGS84"/>
</map-head>
<map-body>
<map-extent units="CBMTILE">
<map-input name="w" type="width"/>
<map-input name="h" type="height"/>
<map-input name="xmin" type="location" units="pcrs" position="top-left" axis="easting" min="1.96856e+06" max="2.9247e+06"/>
<map-input name="ymin" type="location" units="pcrs" position="bottom-left" axis="northing" min="-291723" max="681667"/>
<map-input name="xmax" type="location" units="pcrs" position="top-right" axis="easting" min="1.96856e+06" max="2.9247e+06"/>
<map-input name="ymax" type="location" units="pcrs" position="top-left" axis="northing" min="-291723" max="681667"/>
<map-link rel="image" tref="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMap&amp;FORMAT=image/png&amp;TRANSPARENT=TRUE&amp;VERSION=1.3.0&amp;LAYERS=province&amp;STYLES=&amp;WIDTH={w}&amp;HEIGHT={h}&amp;CRS=EPSG:3978&amp;BBOX={xmin},{ymin},{xmax},{ymax}&amp;m4h=t"/>
<map-input name="i" type="location" axis="i" units="map" min="0" max="0"/>
<map-input name="j" type="location" axis="j" units="map" min="0" max="0"/>
<map-link rel="query" tref="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetFeatureInfo&amp;INFO_FORMAT=text/mapml&amp;FEATURE_COUNT=1&amp;TRANSPARENT=TRUE&amp;VERSION=1.3.0&amp;LAYERS=province&amp;STYLES=&amp;QUERY_LAYERS=province&amp;WIDTH={w}&amp;HEIGHT={h}&amp;CRS=EPSG:3978&amp;BBOX={xmin},{ymin},{xmax},{ymax}&amp;x={i}&amp;y={j}&amp;m4h=t"/>
</extent>
</body>
</mapml>
</map-body>
</mapml->
40 changes: 20 additions & 20 deletions msautotest/wxs/expected/mapml_getmapl_defaults.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<mapml>
<head>
<title>popplace</title>
<meta charset="UTF-8"/>
<meta http-equiv="Content-Type" content="text/mapml;projection=OSMTILE"/>
<link rel="license" href="http://some.host.com/attribution.html" title="MapServer MapML Attribution Here"/>
<link rel="legend" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetLegendGraphic&amp;VERSION=1.3.0&amp;FORMAT=image/png&amp;LAYER=popplace&amp;STYLE=&amp;SLD_VERSION=1.1.0"/>
<link rel="alternate" projection="CBMTILE" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMapML&amp;LAYER=popplace&amp;STYLE=&amp;PROJECTION=CBMTILE"/>
<link rel="alternate" projection="WGS84" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMapML&amp;LAYER=popplace&amp;STYLE=&amp;PROJECTION=WGS84"/>
</head>
<body>
<extent units="OSMTILE">
<input name="txmin" type="location" units="tilematrix" position="top-left" axis="easting" min="-7.52214e+06" max="-6.55978e+06"/>
<input name="tymin" type="location" units="tilematrix" position="bottom-left" axis="northing" min="5.16098e+06" max="6.19044e+06"/>
<input name="txmax" type="location" units="tilematrix" position="top-right" axis="easting" min="-7.52214e+06" max="-6.55978e+06"/>
<input name="tymax" type="location" units="tilematrix" position="top-left" axis="northing" min="5.16098e+06" max="6.19044e+06"/>
<link rel="tile" tref="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMap&amp;FORMAT=image/jpeg&amp;TRANSPARENT=TRUE&amp;VERSION=1.3.0&amp;LAYERS=popplace&amp;STYLES=&amp;WIDTH=256&amp;HEIGHT=256&amp;CRS=EPSG:3857&amp;BBOX={txmin},{tymin},{txmax},{tymax}&amp;m4h=t"/>
</extent>
</body>
</mapml>
<mapml- xmlns="http://www.w3.org/1999/xhtml">
<map-head>
<map-title>popplace</map-title>
<map-meta charset="UTF-8"/>
<map-meta http-equiv="Content-Type" content="text/mapml;projection=OSMTILE"/>
<map-link rel="license" href="http://some.host.com/attribution.html" title="MapServer MapML Attribution Here"/>
<map-link rel="legend" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetLegendGraphic&amp;VERSION=1.3.0&amp;FORMAT=image/png&amp;LAYER=popplace&amp;STYLE=&amp;SLD_VERSION=1.1.0"/>
<map-link rel="alternate" projection="CBMTILE" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMapML&amp;LAYER=popplace&amp;STYLE=&amp;PROJECTION=CBMTILE"/>
<map-link rel="alternate" projection="WGS84" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMapML&amp;LAYER=popplace&amp;STYLE=&amp;PROJECTION=WGS84"/>
</map-head>
<map-body>
<map-extent units="OSMTILE">
<map-input name="txmin" type="location" units="tilematrix" position="top-left" axis="easting" min="-7.52214e+06" max="-6.55978e+06"/>
<map-input name="tymin" type="location" units="tilematrix" position="bottom-left" axis="northing" min="5.16098e+06" max="6.19044e+06"/>
<map-input name="txmax" type="location" units="tilematrix" position="top-right" axis="easting" min="-7.52214e+06" max="-6.55978e+06"/>
<map-input name="tymax" type="location" units="tilematrix" position="top-left" axis="northing" min="5.16098e+06" max="6.19044e+06"/>
<map-link rel="tile" tref="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMap&amp;FORMAT=image/jpeg&amp;TRANSPARENT=TRUE&amp;VERSION=1.3.0&amp;LAYERS=popplace&amp;STYLES=&amp;WIDTH=256&amp;HEIGHT=256&amp;CRS=EPSG:3857&amp;BBOX={txmin},{tymin},{txmax},{tymax}&amp;m4h=t"/>
</map-extent>
</map-body>
</mapml->
50 changes: 25 additions & 25 deletions msautotest/wxs/expected/mapml_getmapl_osmtile.xml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
<mapml>
<head>
<title>province</title>
<meta charset="UTF-8"/>
<meta http-equiv="Content-Type" content="text/mapml;projection=OSMTILE"/>
<link rel="license" href="http://some.host.com/attribution.html" title="MapServer MapML Attribution Here"/>
<link rel="legend" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetLegendGraphic&amp;VERSION=1.3.0&amp;FORMAT=image/png&amp;LAYER=province&amp;STYLE=&amp;SLD_VERSION=1.1.0"/>
<link rel="alternate" projection="CBMTILE" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMapML&amp;LAYER=province&amp;STYLE=&amp;PROJECTION=CBMTILE"/>
<link rel="alternate" projection="WGS84" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMapML&amp;LAYER=province&amp;STYLE=&amp;PROJECTION=WGS84"/>
</head>
<body>
<extent units="OSMTILE">
<input name="w" type="width"/>
<input name="h" type="height"/>
<input name="xmin" type="location" units="pcrs" position="top-left" axis="easting" min="-7.52214e+06" max="-6.55978e+06"/>
<input name="ymin" type="location" units="pcrs" position="bottom-left" axis="northing" min="5.16098e+06" max="6.19044e+06"/>
<input name="xmax" type="location" units="pcrs" position="top-right" axis="easting" min="-7.52214e+06" max="-6.55978e+06"/>
<input name="ymax" type="location" units="pcrs" position="top-left" axis="northing" min="5.16098e+06" max="6.19044e+06"/>
<link rel="image" tref="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMap&amp;FORMAT=image/png&amp;TRANSPARENT=TRUE&amp;VERSION=1.3.0&amp;LAYERS=province&amp;STYLES=&amp;WIDTH={w}&amp;HEIGHT={h}&amp;CRS=EPSG:3857&amp;BBOX={xmin},{ymin},{xmax},{ymax}&amp;m4h=t"/>
<input name="i" type="location" axis="i" units="map" min="0" max="0"/>
<input name="j" type="location" axis="j" units="map" min="0" max="0"/>
<link rel="query" tref="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetFeatureInfo&amp;INFO_FORMAT=text/mapml&amp;FEATURE_COUNT=1&amp;TRANSPARENT=TRUE&amp;VERSION=1.3.0&amp;LAYERS=province&amp;STYLES=&amp;QUERY_LAYERS=province&amp;WIDTH={w}&amp;HEIGHT={h}&amp;CRS=EPSG:3857&amp;BBOX={xmin},{ymin},{xmax},{ymax}&amp;x={i}&amp;y={j}&amp;m4h=t"/>
</extent>
</body>
</mapml>
<mapml- xmlns="http://www.w3.org/1999/xhtml">
<map-head>
<map-title>province</map-title>
<map-meta charset="UTF-8"/>
<map-meta http-equiv="Content-Type" content="text/mapml;projection=OSMTILE"/>
<map-link rel="license" href="http://some.host.com/attribution.html" title="MapServer MapML Attribution Here"/>
<map-link rel="legend" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetLegendGraphic&amp;VERSION=1.3.0&amp;FORMAT=image/png&amp;LAYER=province&amp;STYLE=&amp;SLD_VERSION=1.1.0"/>
<map-link rel="alternate" projection="CBMTILE" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMapML&amp;LAYER=province&amp;STYLE=&amp;PROJECTION=CBMTILE"/>
<map-link rel="alternate" projection="WGS84" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMapML&amp;LAYER=province&amp;STYLE=&amp;PROJECTION=WGS84"/>
</map-head>
<map-body>
<map-extent units="OSMTILE">
<map-input name="w" type="width"/>
<map-input name="h" type="height"/>
<map-input name="xmin" type="location" units="pcrs" position="top-left" axis="easting" min="-7.52214e+06" max="-6.55978e+06"/>
<map-input name="ymin" type="location" units="pcrs" position="bottom-left" axis="northing" min="5.16098e+06" max="6.19044e+06"/>
<map-input name="xmax" type="location" units="pcrs" position="top-right" axis="easting" min="-7.52214e+06" max="-6.55978e+06"/>
<map-input name="ymax" type="location" units="pcrs" position="top-left" axis="northing" min="5.16098e+06" max="6.19044e+06"/>
<map-link rel="image" tref="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMap&amp;FORMAT=image/png&amp;TRANSPARENT=TRUE&amp;VERSION=1.3.0&amp;LAYERS=province&amp;STYLES=&amp;WIDTH={w}&amp;HEIGHT={h}&amp;CRS=EPSG:3857&amp;BBOX={xmin},{ymin},{xmax},{ymax}&amp;m4h=t"/>
<map-input name="i" type="location" axis="i" units="map" min="0" max="0"/>
<map-input name="j" type="location" axis="j" units="map" min="0" max="0"/>
<map-link rel="query" tref="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetFeatureInfo&amp;INFO_FORMAT=text/mapml&amp;FEATURE_COUNT=1&amp;TRANSPARENT=TRUE&amp;VERSION=1.3.0&amp;LAYERS=province&amp;STYLES=&amp;QUERY_LAYERS=province&amp;WIDTH={w}&amp;HEIGHT={h}&amp;CRS=EPSG:3857&amp;BBOX={xmin},{ymin},{xmax},{ymax}&amp;x={i}&amp;y={j}&amp;m4h=t"/>
</map-extent>
</map-body>
</mapml->
50 changes: 25 additions & 25 deletions msautotest/wxs/expected/mapml_getmapl_wgs84.xml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
<mapml>
<head>
<title>province</title>
<meta charset="UTF-8"/>
<meta http-equiv="Content-Type" content="text/mapml;projection=WGS84"/>
<link rel="license" href="http://some.host.com/attribution.html" title="MapServer MapML Attribution Here"/>
<link rel="legend" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetLegendGraphic&amp;VERSION=1.3.0&amp;FORMAT=image/png&amp;LAYER=province&amp;STYLE=&amp;SLD_VERSION=1.1.0"/>
<link rel="alternate" projection="OSMTILE" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMapML&amp;LAYER=province&amp;STYLE=&amp;PROJECTION=OSMTILE"/>
<link rel="alternate" projection="CBMTILE" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMapML&amp;LAYER=province&amp;STYLE=&amp;PROJECTION=CBMTILE"/>
</head>
<body>
<extent units="WGS84">
<input name="w" type="width"/>
<input name="h" type="height"/>
<input name="xmin" type="location" units="pcrs" position="top-left" axis="easting" min="-67.5725" max="-58.9275"/>
<input name="ymin" type="location" units="pcrs" position="bottom-left" axis="northing" min="42" max="48.5"/>
<input name="xmax" type="location" units="pcrs" position="top-right" axis="easting" min="-67.5725" max="-58.9275"/>
<input name="ymax" type="location" units="pcrs" position="top-left" axis="northing" min="42" max="48.5"/>
<link rel="image" tref="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMap&amp;FORMAT=image/png&amp;TRANSPARENT=TRUE&amp;VERSION=1.3.0&amp;LAYERS=province&amp;STYLES=&amp;WIDTH={w}&amp;HEIGHT={h}&amp;CRS=EPSG:4326&amp;BBOX={ymin},{xmin},{ymax},{xmax}&amp;m4h=t"/>
<input name="i" type="location" axis="i" units="map" min="0" max="0"/>
<input name="j" type="location" axis="j" units="map" min="0" max="0"/>
<link rel="query" tref="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetFeatureInfo&amp;INFO_FORMAT=text/mapml&amp;FEATURE_COUNT=1&amp;TRANSPARENT=TRUE&amp;VERSION=1.3.0&amp;LAYERS=province&amp;STYLES=&amp;QUERY_LAYERS=province&amp;WIDTH={w}&amp;HEIGHT={h}&amp;CRS=EPSG:4326&amp;BBOX={ymin},{xmin},{ymax},{xmax}&amp;x={i}&amp;y={j}&amp;m4h=t"/>
</extent>
</body>
</mapml>
<mapml- xmlns="http://www.w3.org/1999/xhtml">
<map-head>
<map-title>province</map-title>
<map-meta charset="UTF-8"/>
<map-meta http-equiv="Content-Type" content="text/mapml;projection=WGS84"/>
<map-link rel="license" href="http://some.host.com/attribution.html" title="MapServer MapML Attribution Here"/>
<map-link rel="legend" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetLegendGraphic&amp;VERSION=1.3.0&amp;FORMAT=image/png&amp;LAYER=province&amp;STYLE=&amp;SLD_VERSION=1.1.0"/>
<map-link rel="alternate" projection="OSMTILE" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMapML&amp;LAYER=province&amp;STYLE=&amp;PROJECTION=OSMTILE"/>
<map-link rel="alternate" projection="CBMTILE" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMapML&amp;LAYER=province&amp;STYLE=&amp;PROJECTION=CBMTILE"/>
</map-head>
<map-body>
<map-extent units="WGS84">
<map-input name="w" type="width"/>
<map-input name="h" type="height"/>
<map-input name="xmin" type="location" units="pcrs" position="top-left" axis="easting" min="-67.5725" max="-58.9275"/>
<map-input name="ymin" type="location" units="pcrs" position="bottom-left" axis="northing" min="42" max="48.5"/>
<map-input name="xmax" type="location" units="pcrs" position="top-right" axis="easting" min="-67.5725" max="-58.9275"/>
<map-input name="ymax" type="location" units="pcrs" position="top-left" axis="northing" min="42" max="48.5"/>
<map-link rel="image" tref="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMap&amp;FORMAT=image/png&amp;TRANSPARENT=TRUE&amp;VERSION=1.3.0&amp;LAYERS=province&amp;STYLES=&amp;WIDTH={w}&amp;HEIGHT={h}&amp;CRS=EPSG:4326&amp;BBOX={ymin},{xmin},{ymax},{xmax}&amp;m4h=t"/>
<map-input name="i" type="location" axis="i" units="map" min="0" max="0"/>
<map-input name="j" type="location" axis="j" units="map" min="0" max="0"/>
<map-link rel="query" tref="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetFeatureInfo&amp;INFO_FORMAT=text/mapml&amp;FEATURE_COUNT=1&amp;TRANSPARENT=TRUE&amp;VERSION=1.3.0&amp;LAYERS=province&amp;STYLES=&amp;QUERY_LAYERS=province&amp;WIDTH={w}&amp;HEIGHT={h}&amp;CRS=EPSG:4326&amp;BBOX={ymin},{xmin},{ymax},{xmax}&amp;x={i}&amp;y={j}&amp;m4h=t"/>
</map-extent>
</map-body>
</mapml->
38 changes: 19 additions & 19 deletions msautotest/wxs/expected/mapml_getmapl_wms_cgitile.xml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<mapml>
<head>
<title>province</title>
<meta charset="UTF-8"/>
<meta http-equiv="Content-Type" content="text/mapml;projection=OSMTILE"/>
<link rel="license" href="http://some.host.com/attribution.html" title="MapServer MapML Attribution Here"/>
<link rel="legend" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetLegendGraphic&amp;VERSION=1.3.0&amp;FORMAT=image/png&amp;LAYER=province&amp;STYLE=&amp;SLD_VERSION=1.1.0"/>
<link rel="alternate" projection="CBMTILE" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMapML&amp;LAYER=province&amp;STYLE=&amp;PROJECTION=CBMTILE"/>
<link rel="alternate" projection="WGS84" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMapML&amp;LAYER=province&amp;STYLE=&amp;PROJECTION=WGS84"/>
</head>
<body>
<extent units="OSMTILE">
<input name="z" type="zoom" value="10" min="4" max="15"/>
<input name="y" type="location" units="tilematrix" axis="row" min="0" max="32768"/>
<input name="x" type="location" units="tilematrix" axis="column" min="0" max="32768"/>
<link rel="tile" tref="http://localhost/path/to/mapml?mode=tile&amp;tilemode=gmap&amp;FORMAT=image/png&amp;LAYERS=province&amp;tile={x}+{y}+{z}&amp;m4h=t"/>
</extent>
</body>
</mapml>
<mapml- xmlns="http://www.w3.org/1999/xhtml">
<map-head>
<map-title>province</map-title>
<map-meta charset="UTF-8"/>
<map-meta http-equiv="Content-Type" content="text/mapml;projection=OSMTILE"/>
<map-link rel="license" href="http://some.host.com/attribution.html" title="MapServer MapML Attribution Here"/>
<map-link rel="legend" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetLegendGraphic&amp;VERSION=1.3.0&amp;FORMAT=image/png&amp;LAYER=province&amp;STYLE=&amp;SLD_VERSION=1.1.0"/>
<map-link rel="alternate" projection="CBMTILE" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMapML&amp;LAYER=province&amp;STYLE=&amp;PROJECTION=CBMTILE"/>
<map-link rel="alternate" projection="WGS84" href="http://localhost/path/to/mapml?SERVICE=WMS&amp;REQUEST=GetMapML&amp;LAYER=province&amp;STYLE=&amp;PROJECTION=WGS84"/>
</map-head>
<map-body>
<map-extent units="OSMTILE">
<map-input name="z" type="zoom" value="10" min="4" max="15"/>
<map-input name="y" type="location" units="tilematrix" axis="row" min="0" max="32768"/>
<map-input name="x" type="location" units="tilematrix" axis="column" min="0" max="32768"/>
<map-link rel="tile" tref="http://localhost/path/to/mapml?mode=tile&amp;tilemode=gmap&amp;FORMAT=image/png&amp;LAYERS=province&amp;tile={x}+{y}+{z}&amp;m4h=t"/>
</map-extent>
</map-body>
</mapml->
Loading