Osm without mapbox

Hi everyone, I changed the source code to show openstreetmap without mapbox and after some instructions, I can show the map. The problem is that the map is blurry, unclear and sometimes looks different than what I see on the sample sites and I can’t understand why.
This is my code

	L.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png", {
		maxZoom: 20,
		attribution: "Map data &copy; <a href=\"https://www.openstreetmap.org/\">OpenStreetMap</a> contributors,<a href=\"https://www.keyfor.it/\">KeyFor</a>",
		tileSize: 512,
		zoomOffset: -1
	}).addTo(mymap);
1 Like

Can you try with tileSize: 256?

yes, but nothing is showed

immagine
This is the blurry

immagine

and this is the normal

What are you trying to achieve with that zoom offset?

If it helps, this map is what I get with this code.

Edit: Just in case you haven’t seen it, here is OSM’s tile usage policy.

Thanks anonimous,
I have solve the problem loading the tile.openstreetmap.org url and deleting the zoomOffset and the tileSize.
Now the map is displayed well.
Thanks again for your solution.
Best Regard,
Sergio