- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2019 02:06 AM
Dear all,
From a mobile page in servicenow I am retrieving the location of a map point which return Lat and Long coordinate.
From that coordinate, how can I get the corresponding address of those coordinate ?
Any idea?
regards
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2019 12:45 AM
as of now i dont have ready made solution available.
did you try to have a look on service-now google maps doc. here you need to use the google map api and you have to pass the API Key and other details in the system properties .
if you see the OOTB map page script it's cureently showing the incident location on the map but i think you can customize that map page based on your need.
i would suggest here kindly have a look on that.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2019 02:21 AM
Hi Wakespirit,
You need to use Google API to fetch the name of the location based on the lat/long.
Refer to these links on how to call the API and get the name
https://stackoverflow.com/questions/6797569/get-city-name-using-geolocation/6798005
Mark the comment as a correct answer if this answers your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2019 04:46 AM
Yes but how to do in Servicenow script ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2019 05:13 AM
did you check the below blog?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2019 05:27 AM
Yes but this does not work on mobile app. And my concern is to retrive the adress name from a location lat Long