1 | ---
|
2 | layout: example.html
|
3 | title: Magnify
|
4 | shortdesc: Show a magnified version of imager under the pointer
|
5 | docs: >
|
6 | <p>This example makes use of the <code>postcompose</code> event listener to
|
7 | 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>
|
8 | <p>Move around the map to see the effect. Use the ↑ up and ↓ down arrow keys to adjust the magnified circle size.</p>
|
9 | tags: "magnify, image manipulation"
|
10 | cloak:
|
11 | As1HiMj1PvLPlqc_gtM7AqZfBL8ZL3VrjaS3zIb22Uvb9WKhuJObROC-qUpa81U5: Your Bing Maps Key from http://www.bingmapsportal.com/ here
|
12 | ---
|
13 | <div id="map" class="map"></div>
|