Adding State to Controls

This example demonstrates adding controls that store state. It shows a
map with two buttons, "Set Center" and "Center Map". The "Set Center"
button can be used to store the center of the map. Pressing the "Center
Map" button will pan the map to the previously stored center.