15 lines
671 B
HTML
15 lines
671 B
HTML
---
|
|
layout: example.html
|
|
title: Magnify
|
|
shortdesc: Show a magnified version of imager under the pointer
|
|
docs: >
|
|
<p>This example makes use of the <code>postrender</code> event listener to
|
|
oversample imagery in a circle around the pointer location. Listeners for this event have access to the Canvas context and can manipulate image data.</p>
|
|
<p>Move around the map to see the effect. Use the ↑ up and ↓ down arrow keys to adjust the magnified circle size.</p>
|
|
tags: "magnify, image manipulation, maptiler"
|
|
cloak:
|
|
- key: get_your_own_D6rA4zTHduk6KOKTXzGB
|
|
value: Get your own API key at https://www.maptiler.com/cloud/
|
|
---
|
|
<div id="map" class="map"></div>
|