added esri layer and location function