Integrating GeoMap

Hi, I’m trying to integrate a map into a screen following this sample:
sample
but I can’t figure out what the problem is

When I fetch external resources
imagen
this error appears:
imagen

TIA

Hi German,

Normally the XSD is found by IDE in dependencies. Did you add the Maps add-on to your project?

Hi Konstantin.
Sorry I didn’t 😣, what a sad forgetfulness.
But despite that, I tried to embed a Leafletmap into a Jmix screen using jsComponent, but I can’t get the map to display.
I tried to draw a Polyline and while it draws correctly, the underlying map is not visible.
I do not know what I’m doing wrong

Application output:

NoMap

The screen XML (lote-edit.xml):
LotesXML

The JS connector (leaflet-connector.js):
connector-js

The .java controller (LoteEdit.java):
LoteJava

I appreciate anyone who can give me a clue.
Thank you very much!

Germán Turriziani

Missed to add the layer after creating the map… sorry :pensive:

L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
      attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
}).addTo(mapa);