- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 07:37 PM - edited 04-29-2024 07:37 PM
Hi,
I like to seek some expert help on having a map type field on a form or catalog item where a requestor can click on the map to pin a location - which will populate the selected coordinates into a latitude/longitude field.
A simple use case can be for requestor to report an incident and select from a map the location of the incident, so that an incident can be tied to any coordinates instead of reference field cmn_location record which records have to be created beforehand.
I can't seem to find a way to do this from SN documentations. Does any one know of an OOB way to achieve this? Or is a custom widget the way to do this?
To help visualize, it will be something like this mockup screen below.
Regards,
Wei
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 08:09 PM
Hi @wclim,
I am not sure if there is an OOB way of doing this, but I did implement the exact thing a few years.
Unfortunately, I don't have access to it anymore but I referred to this great video
https://www.youtube.com/watch?v=eLxpjVZhl_M&ab_channel=JohnSpirko
This does talk about integrating with ESRI but the overall concept should be the same.
I do recall that the Google Map API will require a paid subscription.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 08:09 PM
Hi @wclim,
I am not sure if there is an OOB way of doing this, but I did implement the exact thing a few years.
Unfortunately, I don't have access to it anymore but I referred to this great video
https://www.youtube.com/watch?v=eLxpjVZhl_M&ab_channel=JohnSpirko
This does talk about integrating with ESRI but the overall concept should be the same.
I do recall that the Google Map API will require a paid subscription.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 10:32 PM
Thanks @James Chun ,
Looks like a custom solution using an open source mapping library like LeafletJS is the way to go.
