+++ # ----------------------------------------------------------------------- # Do not edit this file. It is automatically generated by API Documenter. # ----------------------------------------------------------------------- title = "setLocationSrv" keywords = ["grafana","documentation","sdk","@grafana/runtime"] type = "docs" draft = true +++ ## setLocationSrv() function ### setLocationSrv() function Signature ```typescript export declare function setLocationSrv(instance: LocationSrv): void; ``` Import ```typescript import { setLocationSrv } from '@grafana/runtime'; ``` Parameters | Parameter | Type | Description | | --- | --- | --- | | instance | LocationSrv | | Returns: `void`