sela, I'm trying to load tiles using below code:
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4/leaflet.css" />
<style type="text/css">
html,body {
overflow-x: hidden; overflow-y: hidden;
margin:0px; padding:0px;
font-family: Arial, Helvetica, sans-serif; font-weight: bold;
color: #666; font-size: 13px;
height: 100%;
}
body {
background-color: #fff;
margin: 0; padding: 0;
}
img { border: 0; margin: 0; padding: 0; }
table, tr, td { border: 0; margin: 0; padding: 0; }
a { color: #333; text-decoration: none; }
a:hover { color: #000; text-decoration: none; }
</style>
</head>
<body>
<div id="map" style="width:100%;height:100%;overflow:hidden;background:#000;"></div>
<script src="http://cdn.leafletjs.com/leaflet-0.4/leaflet.js"></script>
<script>
var tilesUrl = 'ttps://{host}/gis_render/{x}_{y}_{z}/<uid>/tile.png',
tilesLayer = new L.TileLayer(tilesUrl);
map = new L.Map('map');
map.addLayer(tilesLayer);
map.setView(new L.LatLng(35.70,51.35), 12);
</script>
</body>
</html>
Replacing host and uid parameters with the correct values but I can't receive tiles. Would you please explain my mistake?