nav2d PHP script patched to allow for continuous maps