[UI][CORE][JS] coordinates selected in map are sent to cpp