Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
w8r committed May 10, 2020
1 parent 3269f70 commit 76775f5
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 63 deletions.
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

130 changes: 77 additions & 53 deletions example/index.html
Original file line number Diff line number Diff line change
@@ -1,55 +1,79 @@
<html>
<head>
<title>WMSCapabilities</title>

<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<script type="text/javascript" src="js/prism.js"></script>
<!-- here I test the minified version -->
<!-- <script type="text/javascript" src="../dist/wms-capabilities.min.js"></script> -->
<link rel="stylesheet" href="css/topcoat-desktop-dark.css" />
<link rel="stylesheet" href="css/prism.css" />
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<div class="container max-width">
<div class="wrapper">
<h2>WMS Service GetCapabilities Reader</h2>
<a class="github-button" href="https://github.com/w8r/wms-capabilities" data-count-href="/w8r/wms-capabilities/stargazers" data-count-api="/repos/w8r/wms-capabilities#stargazers_count">Star</a>
<a class="github-button" href="https://github.com/w8r/wms-capabilities" data-count-href="/w8r/wms-capabilities/network" data-count-api="/repos/w8r/wms-capabilities#forks_count">Fork</a>

<div class="">
<h3>Select service or copy your XML into the input</h3>
<select class="topcoat-select" id="service">
<option value="">Select example service</option>
<option value="http://nowcoast.noaa.gov/arcgis/services/nowcoast/sat_meteo_emulated_imagery_lightningstrikedensity_goes_time/MapServer/WMSServer?request=GetCapabilities&amp;service=WMS">Recent Satellite Emulated Lightning Strike Density Imagery</option>
<option value="http://nowcoast.noaa.gov/arcgis/services/nowcoast/wwa_meteoceanhydro_shortduration_hazards_watches_time/MapServer/WMSServer?request=GetCapabilities&amp;service=WMS">Watches, Warnings and Advisories</option>
<option value="http://nowcoast.noaa.gov/arcgis/services/nowcoast/analysis_meteohydro_sfc_rtma_time/MapServer/WMSServer?request=GetCapabilities&amp;service=WMS">Gridded Weather &amp; Oceanographic Surface Analyses</option>
<option value="http://nowcoast.noaa.gov/arcgis/services/nowcoast/forecast_meteoceanhydro_sfc_ndfd_dailyminairtemp_offsets/MapServer/WMSServer?request=GetCapabilities&amp;service=WMS">Daily Minimum Air Temperature</option>
</select>
</div>

<div class="outputs">
<div class="output">
<h3>XML</h3>
<pre class="topcoat-textarea code language-markup" id="xml" disabled></pre>
<textarea class="topcoat-textarea code" id="input-area" rows="10" cols="36" placeholder="Paste the GetCapabilities XML output here"></textarea>
</div>

<div class="output">
<h3>JSON</h3>
<pre class="topcoat-textarea code language-javascript" id="json" rows="10" cols="36" disabled></pre>
</div>
</div>

<ul>
<li>Code is an exerpt from <a href="http://openlayers.org" target="_blank">OpenLayers 3</a></li>
<li>Public WMS Services from <a href="http://nowcoast.noaa.gov/help/mapservices.shtml" target="_blank">nowcoast.noaa.gov</a></li>
</ul>

</div>
<div>
<script type="text/javascript" src="js/bundle.js"></script>
<script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
</body>

<head>
<title>WMSCapabilities</title>

<meta charset="utf-8" />
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<script type="text/javascript" src="js/prism.js"></script>
<!-- here I test the minified version -->
<!-- <script type="text/javascript" src="../dist/wms-capabilities.min.js"></script> -->
<link rel="stylesheet" href="css/topcoat-desktop-dark.css" />
<link rel="stylesheet" href="css/prism.css" />
<link rel="stylesheet" href="css/style.css" />
</head>

<body>
<div class="container max-width">
<div class="wrapper">
<h2>WMS Service GetCapabilities Reader</h2>
<a class="github-button" href="https://github.com/w8r/wms-capabilities"
data-count-href="/w8r/wms-capabilities/stargazers"
data-count-api="/repos/w8r/wms-capabilities#stargazers_count">Star</a>
<a class="github-button" href="https://github.com/w8r/wms-capabilities"
data-count-href="/w8r/wms-capabilities/network"
data-count-api="/repos/w8r/wms-capabilities#forks_count">Fork</a>

<div class="">
<h3>Select service or copy your XML into the input</h3>
<select class="topcoat-select" id="service">
<option value="">Select example service</option>
<option
value="https://nowcoast.noaa.gov/arcgis/services/nowcoast/sat_meteo_emulated_imagery_lightningstrikedensity_goes_time/MapServer/WMSServer?request=GetCapabilities&amp;service=WMS">
Recent Satellite Emulated Lightning Strike Density Imagery</option>
<option
value="https://nowcoast.noaa.gov/arcgis/services/nowcoast/wwa_meteoceanhydro_shortduration_hazards_watches_time/MapServer/WMSServer?request=GetCapabilities&amp;service=WMS">
Watches, Warnings and Advisories</option>
<option
value="https://nowcoast.noaa.gov/arcgis/services/nowcoast/analysis_meteohydro_sfc_rtma_time/MapServer/WMSServer?request=GetCapabilities&amp;service=WMS">
Gridded Weather &amp; Oceanographic Surface Analyses</option>
<option
value="https://nowcoast.noaa.gov/arcgis/services/nowcoast/forecast_meteoceanhydro_sfc_ndfd_dailyminairtemp_offsets/MapServer/WMSServer?request=GetCapabilities&amp;service=WMS">
Daily Minimum Air Temperature</option>
</select>
</div>

<div class="outputs">
<div class="output">
<h3>XML</h3>
<pre class="topcoat-textarea code language-markup" id="xml"
disabled></pre>
<textarea class="topcoat-textarea code" id="input-area" rows="10"
cols="36"
placeholder="Paste the GetCapabilities XML output here"></textarea>
</div>

<div class="output">
<h3>JSON</h3>
<pre class="topcoat-textarea code language-javascript" id="json"
rows="10" cols="36" disabled></pre>
</div>
</div>

<ul>
<li>Code is an exerpt from <a href="http://openlayers.org"
target="_blank">OpenLayers 3</a></li>
<li>Public WMS Services from <a
href="http://nowcoast.noaa.gov/help/mapservices.shtml"
target="_blank">nowcoast.noaa.gov</a></li>
</ul>

</div>
<div>
<script type="text/javascript" src="js/bundle.js"></script>
<script async defer id="github-bjs"
src="https://buttons.github.io/buttons.js"></script>
</body>

</html>

0 comments on commit 76775f5

Please sign in to comment.