Loupe
A loupe-style lens overlays two different CloudMade tile layers on a Polymaps map, using the `po.loupe` API to render a circular focus region with a draggable center and resizable border. The example loads tiles from the CloudMade 998 and 999 map styles for OpenStreetMap data, with the outer map showing one style and the inner lens another, optionally zooming between them via a `zoomDelta` property. Interaction is handled by Polymaps' `po.interact` and `po.hash` for panning and URL state, while SVG elements styled in CSS draw the loupe’s thick black and light borders.
AI-generated descriptionThis example is a simple loupe using Polymaps. Drag the center of the loupe to move it around, or drag the thick border to resize it. Loupes are normally used to magnify, showing focus and context, but in this example we're using it to show two different tilesets. You can enable magnification (or minification) using the zoomDelta property.