at first you must obtain google tiles or any map provider and next put them in some appropriate directories.



after that you must develop a web service that must be in x/y/z fromat
that can be call by clinet side application such as leaflet.ja or ArcGis javascript api
this web servic must serve tile images to clinet
your request for this image mus be
{your url}+/google.hybrid/16/485/27411
and finaly add the web servic to clinet applicaation.
for example in arcgis javascript api
cycleMap1 = WebTiledLayer('your url'+"/${level}/${col}/${row}",{
tileInfo: TileInfo({
dpi: 96,
rows: 256,
cols: 256,
origin: {
x: -20037508.342787,
y: 20037508.342787
},
spatialReference: {
wkid: 3857
},
lods: lods
})
});
cycleMap1.setVisibility(0)
map.addLayer(cycleMap1);
or in leaflet.js
var tileHtbrid = 'your url' + '/{z}/{x}/{y}';
var tilemap = L.tileLayer(tileHtbrid, {
minZoom: 7, maxZoom: 25,
attribution: 'TileServer'
})