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