Some caches missing on live map June 03, 2023, 02:52:44 PM HiI'm not sure I have understand the "Live map" correctly.I have this picture in Geooh Go and in the official app.Why are there missing caches in the map from Geooh Go? I have no filter set - only selected to not show found caches in Live map/Picht Quote Selected
Re: Some caches missing on live map Reply #1 – June 03, 2023, 03:54:06 PM Test when version 13.2.3 is downloaded... I made some alterations to the Live map. Basically, if you had already downloaded 300 (same limit on official app) no more would download during a refresh. Until then you can clear caches from the map before refreshing. Quote Selected
Re: Some caches missing on live map Reply #2 – June 03, 2023, 04:02:51 PM Hi"Clear map on refresh" setting is enabled when I did the test.../Picht Quote Selected
Re: Some caches missing on live map Reply #3 – June 03, 2023, 04:06:36 PM And you pressed the refresh button at the top? Quote Selected
Re: Some caches missing on live map Reply #5 – June 03, 2023, 04:08:59 PM Can you provide a video so I know exactly what is occurring? Also, you Live map settings. Quote Selected
Re: Some caches missing on live map Reply #6 – June 03, 2023, 04:18:33 PM Here is a video and screenshots of the settings Quote Selected
Re: Some caches missing on live map Reply #7 – June 03, 2023, 04:46:38 PM How many caches does Geooh have after the refresh? If 300, then that's the limit. If there are more retrieved, Geooh starts removing those furthest away from your location. My guess is the official app removes the furthest from center of map shown. I'll have to think about this and what's best... whether to show more around your location or map center. The simplest thing is to do what the official app does so there are no questions as to why it's different. Some will like it one way, others the other way. Quote Selected
Re: Some caches missing on live map Reply #8 – June 03, 2023, 05:01:43 PM After the refresh it has 300 caches.My location is further north/west of the caches shown in the pictures. But the caches missing are in the middle and not the ones furthest away? Quote Selected
Re: Some caches missing on live map Reply #9 – June 03, 2023, 05:08:50 PM Looking into the code I realize probably what's happening... Geooh is using the API to get caches within the map bounds (ignoring your location), but stops after the 300 limit is reached. My guess is the API starts returning caches NOT radiating out from the bounds center, but from the top of bounds downward. So that means to replicate the official is to ignore the limit during retrieval, then throw the extra away from the center which would result in the same as the official app... but at the expense of downloading more caches than needed being much slower than the official. I wish their API operated like their app.Another thing for me to ponder on what's best. Probably not use their bounds API search and instead use API center and radius of the bounds. That way the 300 limit works and retrieved caches similar to the official. Just more work for me. Quote Selected
Re: Some caches missing on live map Reply #10 – June 03, 2023, 05:27:36 PM HiI'm not sure about the API returning caches from the top to the bottom.This would mean that the missing caches would be in the bottom, but they are in the middle.I'm quite sure the official app is getting caches using a circle with the center in the center of the screen. This should be fairly easy to do the same?/Picht Quote Selected
Re: Some caches missing on live map Reply #11 – June 03, 2023, 05:34:18 PM I'm gonna try...What is the lat/lon of the center of your map example? That way I can test and match up with your screenshots. Quote Selected
Re: Some caches missing on live map Reply #12 – June 03, 2023, 05:36:21 PM Approx N55 37.750 E012 36.000 Quote Selected
Re: Some caches missing on live map Reply #13 – June 03, 2023, 05:38:59 PM When using the official app and zooming out in a cache dense area the resulting caches on the map always create a circle.And them I'm sure that within this circle all caches are shown. Quote Selected
Re: Some caches missing on live map Reply #14 – June 04, 2023, 03:38:45 PM I revamped the code for the Live map (and other maps actually) to not use the API bounds call, but to find the center of the bounds and then a radius matching the bounds to use a different API call to search for geocaches. The end result is that Geooh now more closely follows how the official app displays its live map. I think in the long run this makes Geooh a better app.The changes are in version 13.3.0 and waiting for Google to release the app. Quote Selected