Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serializable MapPoint #19

Open
jperedadnr opened this issue May 1, 2018 · 0 comments
Open

Serializable MapPoint #19

jperedadnr opened this issue May 1, 2018 · 0 comments

Comments

@jperedadnr
Copy link
Contributor

So far, MapPoint is immutable (though it has an update method), but it is a quite convenient object to deal with a pair of (latitude, longitude) coordinates.

This means that it can't be easily serialized/deserialized through JSON.

Also it doesn't print nicely or can't be compared.

Adding an empty constructor, setters, toString and hash/equals could solve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant