13
Views
1
Comments
How to set the Location Plugins in Cinema Screen in Movie Assignment.
Application Type
Mobile

Please Help me for Sort Cinemas Based on GPS Location. 

Rank: #682

Hi Mounika,


Location plugin, will access your device gps location and will give you the current lat/long (location). Now you need to have lat-long available  for each cinema in table.

Then you need to calculate the distance between  two co-ordinate ( current and cinemas) using some API may be this link. and store distance and sort accordingly.


Regards,

Dileep Verma