Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Location issue in region #3

Closed
nileshordex opened this issue Feb 9, 2018 · 2 comments
Closed

Location issue in region #3

nileshordex opened this issue Feb 9, 2018 · 2 comments

Comments

@nileshordex
Copy link

I was tried to add two nearest location but it was not allowed. When i was tried this instead of add two location it is display message below message.

Log for issue.
[BBLocationManager] Fence already exist for area: 9,Pin-Up Bowl ---- inside: Restaurant_2
2018-02-09 17:04:53.593570+0530 demo[67141:434050] Added GeoFence: {
BBeventTimeStamp = "09-02-2018 17:04:53";
BBeventType = BBFenceEventRepeated;
BBfenceCoordinate = {
BBRadious = 100;
latitude = "38.65574645996094";
longitude = "-90.2991943359375";
};
BBfenceIDentifier = "Restaurant_2";
}
2018-02-09 17:04:53.657464+0530 demo[67141:434050] [BBLocationManager] Fence already exist for area: (null) ---- inside: Restaurant_2
2018-02-09 17:04:53.657959+0530 demo[67141:434050] Added GeoFence: {
BBeventTimeStamp = "09-02-2018 17:04:53";
BBeventType = BBFenceEventRepeated;
BBfenceCoordinate = {
BBRadious = 100;
latitude = "38.65574645996094";
longitude = "-90.2991943359375";
};
BBfenceIDentifier = "Restaurant_2";
}

==>
check below for location if first 5 digits same then doesn't allow first location every time used second location .
{
lat = "38.655743";
lng = "-90.29864";
restID = 7;
restoName = "Restaurant_1";
},
{
lat = "38.655746";
lng = "-90.29919";
restID = 9;
restoName = "Restaurant_2";
}

@benzamin
Copy link
Owner

Hey Nilesh,

Thanks for your interest in BBLocationManager. I can see that you added the first fence with a 100 meter radius, and trying to add another one nearest to it, which is approximately 50meter far from the previous one, thats why the fence is not working. Try to add fence with a short radius (which might cause problem to identify the fence exactly), or add a fence bit far from the previous one. Check out the Google Maps screenshot below.
screen shot 2018-02-11 at 12 05 24 am

Hope you understand, let me know if you have anymore questions.

Benzamin.

@nileshordex
Copy link
Author

@benzamin

Thank's Dear i hope your are well and great reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants