Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to get the distance between current browser location and specific point of interest?

Geert01Jun 3 2022

I want to enable some functions only when a person is within 200 meters of a specific point of interest.
With the maps options, it is pretty easy to determine the distance between two points that a user can manually add to the map. But how can I place the calculated distance in a page item? And how can I place the current browser location on the map without pressing the 'current location' button? The 'Distance tool' requires the user to add two points to the map in order to calculate the distance between these points. I would like one of these points to be the browser's current location and the other point to be a fixed point. Does anybody know what api's I could use?
image.png

Comments
Post Details
Added on Jun 3 2022
0 comments
316 views