Creates a map with a basemap. The onExtentChanged event has been hooked up to show the extent printed below the map.