Location Service

This service sends a user’s location information to an application. It is provided in order to maintain compatibility with platforms in other regions. The function always returns "result=0", so that the application cannot acquire any location information.

GET

POST

Parameter List:

Name

Required?

Description

url

 

URL to transition to after location information is acquired (If omitted, default is start URL defined in Gadget XML)

type

 

Location information type (gps=GPS / cell=Simple Location Information) (If omitted, default is cell)

  • The parameter value must be URI-escaped when sending parameters with href attributes, etc. in URLs.
  • When transitioning to a url after sending location information, Japanese geodetic system data (wgs84 fixed) is automatically assigned to the "datum" parameter, with latitude and longitude assigned to the "lat" and "lon" parameters, respectively.
  • When transitioning to a url after sending location information, a result value of "1" is assigned if the operation was successful, or "0" if an error occured.
  • Ex.: http://example.com/?datum=wgs84&lat=%2B35.40.58.96&lon=%2B139.41.12.96&result=1

Examples

Revision History

  • 03/01/2013
    • Initial release. 

PREVIOUS

Friend Request Service

NEXT

Payment Service