I am sorry, Martin, my original question is not precise enough.
I try to use your GM custom control in Notes Client. First open works as expected, map opens in correct position with marker in right plase but I am not able drag and move the map then. The Pan control doesn't work too in XPiNC.
In web browser everything works fine.
Any idea what could be wrong?