API Reference > frontend-devTools > Tools > MapLayerZoomTool > run run Method This method runs the tool, changing the viewport so it is zoomed to the range of a map layer. run(layerIndex: number): boolean Parameter Type Description layerIndex number the index of the layer whose range to zoom to Returns - boolean Defined in frontend-devtools/src/tools/MapLayerTool.ts Line 352 Last Updated: 12 June, 2024