cfclient.geolocation.getCurrentPosition

Getting current position

You can get the device’s current position using the getCurrentPosition() function.

Method summary

getCurrentPostion(options)

  • returns – Returns a Position object containing the location information
  • params
    •  Geolocation Options

For instance,

<cfset curpos = cfclient.geolocation.getCurrentPosition()>


Example

See Using the Geolocation APIs

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online