You are not logged in.
- Topics: Active | Unanswered
Announcement
*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
Pages: 1
#1 2016-05-16 15:50:55
- aburo
- New Member
- Registered: 2016-05-16
- Posts: 1
P2 local stored background map access
Can anyone provide some help on how to define the link structure to add a background map that is stored on a local PC drive.
e.g. file://D:/tiles/$z/$x/$y.jpg does not work for a TMS exported map.
Thank you in advance, Rolf
Offline
#2 2016-05-16 17:51:02
- RicoElectrico
- Moderator
- From: Trójmiasto
- Registered: 2012-07-01
- Posts: 1,850
Re: P2 local stored background map access
I think it won't work because of cross-origin policy. If it were, any site could browse your computer when you were browsing the Web, just like in the old IE days ![]()
An http server on the localhost wouldn't work either, I think.
Last edited by RicoElectrico (2016-05-16 17:53:04)
Offline
#3 2016-05-17 09:52:46
- Richard
- Member
- From: Charlbury, UK
- Registered: 2007-04-24
- Posts: 427
- Website
Re: P2 local stored background map access
An http server should probably work, I think, but you might need to access it via IP address and/or put a crossdomain.xml file there.
Offline
Pages: 1