google maps - Android geo fence limit -
i using geofence draw on map. below code:
arraylist<latlng> mgeofence = new arraylist<latlng>(); (int j = 0; j < path.getmpolygon().size(); j++) { mgeofence.add(path.getmpolygon().get(j)); } if (mgeofence != null && path.getmpolygon().size() >= 3) { polygonoptions polyoptions = new polygonoptions(); polyoptions.addall(mgeofence).strokecolor(color.blue).strokewidth(8f); mmap.addpolygon(polyoptions); } else { system.out.println("path invalid polygon"); } google i/o session tells geofence's limit 100 session.
so question is, mean 100 session ?
mmap.addpolygon(polyoptions); or
mgeofence.add(path.getmpolygon().get(j));
adding polylines map has nothing geofencing. limitation imposed on geofencing api.
Comments
Post a Comment