Thanks a million, I am using this plugin in production. I have successfully used it with OSM online and then also with a GeoServer offline. Now I have set up my own mapnik server on a linux VM. But I cannot connect to it from v-leaflet.
I can access my mapnik server using a browser with this url:
http://mapnik/ which loads an index.html that contains:
<script>
...
L.tileLayer('http://mapnik/osm_tiles/{z}/{x}/{y}.png',{maxZoom:18})
...
</script>
I have tried this in my vaadin application:
LOpenStreetMapLayer layer = new LOpenStreetMapLayer();
layer.setUrl("http://mapnik/osm_tiles/{z}/{y}/{x}.png");
pk.setMaxZoom(18);
I only get the gray background
NB: ACTUALLY I JUST NOTICED THAT EVERYTHING WORKS FINE IN CHROME AND FIREFOX. This is only hapening in EDGE. In All browsers I get to view the map when I type the URL of my mapnik server, but only in EDGE it does not show in the v-leafet vaadin application. any idea Matti?