2018-07-25 20:18:39 +02:00

16 lines
656 B
HTML

---
layout: example.html
title: WMS
shortdesc: Example of WMS layers rendered in Google Maps.
docs: >
<p>
Shows that WMS layers added to OL3 are ported to Google Maps
when the latter gets activated.
</p>
---
<div id="map" class="map"></div>
<button id="toggleOSM" title="Toggle between OL and GMaps">Toggle between OL and GMaps</button>
<button id="toggleWMS" title="Toggle between tiled WMS and image WMS">Toggle between tile WMS and image WMS</button>
<button id="setRandomParam" title="Set a random param to all layer sources">Set a random param to all layer sources</button>
<label>Current mode: <span id="currentMode">tiled</span></label>