ryancramerdesign / FieldtypeMapMarker

Fieldtype for ProcessWire - holds an address or location name, and automatically geocodes the address to latitude/longitude using Google Maps API.
http://processwire.com
29 stars 16 forks source link

Please use decimal column type instead of float for lat/lng values #22

Open Toutouwai opened 6 years ago

Toutouwai commented 6 years ago

Currently the Latitude and Longitude inputs show greater decimal length than their database column type allows them to store accurately.

This is confusing for users, because they can see a value such as 168.112442 in the Latitude, but then not be able to actually set a value like 168.112443 in that same field.

Changing to a decimal column type with a fixed accuracy that is stated upfront would be preferable.