minetest-mapserver / mapserver

Minetest realtime mapserver, written in go
Other
101 stars 22 forks source link

Move center to marker when clicked #388

Closed Emojigit closed 4 months ago

Emojigit commented 5 months ago

This PR adds code to move the center of the canvas to where it is when a marker is clicked. There are some limitations:

As usual, this PR can be tested on my map server. This PR is ready for review. And yeah, I used 10 commits before eventually passing the finish line.

coveralls commented 5 months ago

Pull Request Test Coverage Report for Build 9419841347

Details


Totals Coverage Status
Change from base Build 9405508814: 0.0%
Covered Lines: 907
Relevant Lines: 1341

💛 - Coveralls
Emojigit commented 5 months ago

This can be an opt-in feature if that would be better, but I am not sure exactly how to do that.

BuckarooBanzay commented 4 months ago

And yeah, I used 10 commits before eventually passing the finish line.

no worries :laughing:

looks good, thanks :+1: