openlayers
Version:
Build tools and sources for developing OpenLayers based mapping applications
14 lines (13 loc) • 680 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>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>