Groups
Groups
Sign in
Groups
Groups
Leaflet
Conversations
About
Send feedback
Help
load maps from dropbox of google drive
116 views
Skip to first unread message
dimas...@gmail.com
unread,
Sep 23, 2013, 11:20:12 AM
9/23/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to leafl...@googlegroups.com
At now maps loaded from my hard drive
var myLayer = L.tileLayer('./resources/maps/tiles/' + 1 + '/{z}/map_{x}_{y}.png', {...});
But i want load maps from Dropbox or Google Drive.
But when i try to share folder with my map parts or every file
separately
then i get links with absolutely different urls.
For example for Dropbox ;
map_0_0.png
https://www.dropbox.com/s/6e8e6xoj47yfaxy/map_0_0.png
map_0_1.png
https://www.dropbox.com/s/lf789vsedpjtp6u/map_0_1.png
map_0_2.png
https://www.dropbox.com/s/k5rn5ykzwt8mkyj/map_0_2.png
map_1_0.png
map_1_1.png
map_1_2.png
As you see dropbox insert into url codes like 6e8e6xoj47yfaxy, lf789vsedpjtp6u, k5rn5ykzwt8mkyj
and i can't provide universal link for L.tileLayer()
QUESTION: how can i get universal share link for all *.png files in Dropbox or Google Drive.
dimas...@gmail.com
unread,
Sep 24, 2013, 4:45:24 AM
9/24/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to leafl...@googlegroups.com
Those services use dynamically generated urls
Predrag Supurovic
unread,
Oct 2, 2013, 1:56:14 PM
10/2/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to leafl...@googlegroups.com
I did similar thing and I got fixed URL (only file name changes). Maybe
because I stored files in Public folder on Dropbox?
Pedja
Reply all
Reply to author
Forward
0 new messages