Closed silentDjay closed 5 years ago
This was addressed with this update: https://github.com/silentDjay/Mapstery/commit/448d905c0dc168be81427bdb7b3c262141d27210
If the recognized (by reverse geolocation) geographic feature that is clicked (it's always a body of water, as far as I can tell), the user will be told what they clicked on and the click will not be counted towards their total. Clicks with unrecognized data will continue to be described as such.
Previously, the geolocation data that Google Maps delivered would return a consistent data payload for a click that didn't return country data. Now, the logic returns information about some bodies of water (and possibly other features). I've seen click data returned for the following geographic features:
There are bound to be others. It appears that the
"types" : [ "establishment", "natural_feature" ]
feature is new. I should leverage that to fix the functionality for a non-counting click.Here is an example of the payload for a click on the Mediterranean Sea:
This requires a fix.