TeamJM / journeymap

JourneyMap mod for Minecraft
http://journeymap.info
131 stars 10 forks source link

[Suggestion] Reduce Position Update Interval of Webmap #247

Open leumasme opened 4 years ago

leumasme commented 4 years ago

JourneyMap Version:

5.7.1

Forge Version:

1.12.2-forge1.12.2-14.23.5.2768

Description

As it is, the Webmap only updates the player position 2 times per second. This lets it feel rather unsmooth when using the "Center to Player" feature, especially compared to the in-game minimap which updates the player position instantly and smoothly. It would be nice if we could reduce the delay of the player position updates to the webmap for a smoother experience.

gdude2002 commented 4 years ago

Hey, thanks for the issue

I've already been thinking about how to solve this problem - I'm not entirely sure that polling is the right way to go, and I'd like to look into websocket as an alternative.