Other map types

Hi,
There is only Google map viewer in the CUBA Platform now, but do you have plans to add other map types support, for example OpenStreetMap or Yandex?
If no, how can I add another map viewer type myself?

Hi,

In case of OpenStreetMap you could integrate Vaadin add-on: Vaadin Add-on Directory
Check documentation on Vaadin component integration: Using a Third-party Vaadin Component - CUBA Platform. Developer’s Manual

If you want to use Yandex, you can either build custom JavaScript component or use BrowserFrame to embed it.

It seems that BrowserFrame is the fastest way for me now.
How can I interact with map in BrowserFrame? For example, how to get coordinates of marker?

Interaction is possible only in JavaScript, since BrowserFrame shows all the content inside of <iframe> element. You could use window.postMessage from JavaScript: Window.postMessage() - Web APIs | MDN It is not so easy, if you really want to interact with Map component I’d recommend that you implement custom JS-based component.