14 lines
515 B
HTML
14 lines
515 B
HTML
---
|
|
template: example.html
|
|
title: Canvas tiles example
|
|
shortdesc: Renders tiles with coordinates for debugging.
|
|
docs: >
|
|
The black grid tiles are generated on the client with an HTML5 canvas. In this example, the `ol.source.TileDebug` source uses the tile grid of the `ol.source.OSM` source, so the displayed tile coordinates are the same as those for OSM tile requests.
|
|
tags: "layers, openstreetmap, canvas"
|
|
---
|
|
<div class="row-fluid">
|
|
<div class="span12">
|
|
<div id="map" class="map"></div>
|
|
</div>
|
|
</div>
|