Bring Data Into View Control This sample shows how to create a simple custom control that centers and zooms the map to fit any data that is loaded on the map. This works with data in a HtmlMarkers, DataSource and ImageLayers. Does not support TileLayers and VectorTileSources.