code for location search map