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

13 lines
448 B
HTML

---
layout: example.html
title: TMS
shortdesc: Example of TMS layers rendered in Google Maps.
docs: >
Shows that TMS layers added to OL are rendered in Google Maps
when the latter gets activated. Note: OL doesn't actually support
TMS layers. Instead, we use the XYZ layer source with an inverted
y coordinate.
---
<div id="map" class="map"></div>
<button id="toggle" title="Toggle between OL and GMaps">Toggle between OL and GMaps</button>