0

I had generated tile images using gdal2tiles. I am deploying my application in tomcat which is in C drive. Since tile images occupy more space, I had created a new drive E and placing all the images there. Now, can I use the tile images from E drive? if my images are in E: maps and my application is running in C: tomcat: OL3 how do I use images from E drive for my application running in C drive?

new ol.layer.Tile({
                    source: new ol.source.XYZ({
                        url: '..../{z}/{x}/{-y}.png'
                    })
                })
Harnish Kumar
  • 315
  • 5
  • 17

1 Answers1

0

You have to create separate server pointing to image folder and use that server address to serve images in your current project. Hope it will solve your problem.

Shoaib Konnur
  • 459
  • 4
  • 14