WatWowMap / ReactMap

Pokemon GO Map frontend built with React
MIT License
130 stars 64 forks source link

refactor: move distance unit to client #966

Closed TurtIeSocks closed 8 months ago

TurtIeSocks commented 8 months ago

Moves the distance selection to the client for more consistency and there's not really any reason why this calculation should be forced to be the same for all users.

Config Change

map.misc.distanceUnit was previously km/mi and is now kilometers/miles, an inline migration was added to change it at startup with a warning log.

Resolves #865

kamieniarz commented 8 months ago

@TurtIeSocks kilometers and miles translations don't work

github-actions[bot] commented 8 months ago

:tada: This PR is included in version 1.30.0-develop.7 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: