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

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -