Add a magnify example

This commit is contained in:
Tim Schaub
2016-12-15 17:29:34 -08:00
parent 0b42880ea4
commit 197d3afa39
2 changed files with 104 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
---
layout: example.html
title: Magnify
shortdesc: Show a magnified version of imager under the pointer
docs: >
<p>This example makes use of the <code>postcompose</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"
cloak:
As1HiMj1PvLPlqc_gtM7AqZfBL8ZL3VrjaS3zIb22Uvb9WKhuJObROC-qUpa81U5: Your Bing Maps Key from http://www.bingmapsportal.com/ here
---
<div id="map" class="map"></div>