OpenLayers with Vaadin 14

I am show map with the current latitude and longitude position of the user. I saw a code on OpenLayer 6 wrapper. But is seems confusing as I am not too good in Javascript. Can someone show me the most simple way to use openlayer/openstreetmap ?

Any change to upgrade your Vaadin version? The Vaadin Map component, stable in 23.2.0 (out really soon), is basedon OpenLayers as well.

If you are stuck with Vaadin 14, but not with OpenLayers, I’d suggest to take a look at this add-on: LeafletMap for Vaadin - Vaadin Add-on Directory

That is using Leaflet, but that provides similar functionality as OpenLayers, and there is a ready made Java API for it :muscle: