Custom controls

This example shows how to create custom controls.

This example creates a "zoom to extent" button. See the custom-controls.js source to see how this is done. Per default, the zoom extent control use the map projection extent.

custom, control