Make sure the object structure returned is not mangled by Closure Do not use closure XHR or JSON in the example Use Jasmine's async support in the test cases Get rid of some backwards compatibility now that we have a fresh start
54 lines
1.5 KiB
HTML
54 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
|
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
|
|
<link rel="stylesheet" href="style.css" type="text/css">
|
|
<style type="text/css">
|
|
html, body, #map {
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
#log {
|
|
position: absolute;
|
|
top: 130px;
|
|
font-size: 12px;
|
|
}
|
|
#text {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
z-index: 20000;
|
|
background-color: white;
|
|
padding: 0 0.5em 0.5em 0.5em;
|
|
border-radius: 4px;
|
|
}
|
|
@media only screen and (max-width: 600px) {
|
|
#text {
|
|
display: none;
|
|
}
|
|
}
|
|
</style>
|
|
<title>wms capabilities example</title>
|
|
</head>
|
|
<body>
|
|
<div id="log"></div>
|
|
<div id="map">
|
|
<div id="text">
|
|
<h1 id="title">WMS GetCapabilities parsing example</h1>
|
|
<div id="shortdesc">Example of parsing a WMS GetCapabilities response.</div>
|
|
<div id="docs">
|
|
<p>See the
|
|
<a href="wms-capabilities.js" target="_blank">wms-capabilities.js source</a>
|
|
to see how this is done.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="tags">wms, capabilities, getcapabilities</div>
|
|
<script src="loader.js?id=wms-capabilities" type="text/javascript"></script>
|
|
</body>
|
|
</html>
|