Google maps containsLocation on android

拟墨画扇 提交于 2019-12-04 06:41:38

A bit late, but here's the answer: com.google.maps.android.PolyUtil.containsLocation() from Google Maps Android API utility library.

You can use the Geofencing feature for this purpose. The API's for that are a part of Google Play Services library and hence you can start using it by importing it into your app project.

It even gives the notification if a particular user has entered or exited a specific geofencing location in order for a developer to monitor the number of mobile devices entered in the zone he defined. The implementation is pretty simple, I am pasting some links that may guide you further.

This is Google's official documentation about Geofencing: http://developer.android.com/training/location/geofencing.html

This link actually implements an app for geofencing.

And this is another link if you want to use a third party plugin in order to get geofencing in your app.

Hope this would help!!!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!