So the global scene in ros2d should take care of the offset of the map. It is possible I ignored/overlooked this. By the time nav2d gets anything (robot pose or click), the offset, rotation, resolution should all be known. That's what functions like https://github.com/RobotWebTools/ros2djs/blob/stable/src/Ros2D.js#L10
If this isn't working, it means I screwed something up in ros2d when maps come in. Very likely based on your other bug reports!
I will investigate, I was away the past few days!!
So the global scene in ros2d should take care of the offset of the map. It is possible I ignored/overlooked this. By the time nav2d gets anything (robot pose or click), the offset, rotation, resolution should all be known. That's what functions like https://github.com/RobotWebTools/ros2djs/blob/stable/src/Ros2D.js#L10
If this isn't working, it means I screwed something up in ros2d when maps come in. Very likely based on your other bug reports!
I will investigate, I was away the past few days!!