posm / OpenMapKitAndroid

http://openmapkit.org
BSD 3-Clause "New" or "Revised" License
128 stars 38 forks source link

How to handle settings #69

Closed mberg closed 9 years ago

mberg commented 9 years ago

Hi everyone,

We are in the process of adding a proximity check to OMK.

Basically, it allows you to define a radius which is used to draw a circle around your GPS point. We then disable selection of features outside of that circle.

This is important as it closes the loop hole of allowing people to fill in data on locations where they actually weren't at.

This feature is automatically disabled when Android doesn't detect GPS. We want to obviously make this feature optional for now.

Since we don't have any admin view at this point. We propose adding a settings.xml file to do this.

Let us know if this the approach the project would like to take for now or if there is a better pattern to follow.

We will do a PR on this feature in the next day or so.