Groups
Groups
Sign in
Groups
Groups
Leaflet
Conversations
About
Send feedback
Help
change position of "powered by Leaflet" attribution
4,871 views
Skip to first unread message
amir lamdan
unread,
Jun 18, 2013, 1:50:19 PM
6/18/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
As in the subject, I would like to move the Leaflet attribution from bottom right corner to top right.
how?
Bryan McBride
unread,
Jun 18, 2013, 9:38:41 PM
6/18/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
Pass attributionControl: false when constructing your map and then add the attribution control with your position option.
map = new L.Map('map', {
attributionControl: false
});
L.control.attribution({position: 'topright'}).addTo(map);
amir lamdan
unread,
Jun 19, 2013, 9:22:16 AM
6/19/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
Solved.
That solution works
thanks
Chris
unread,
Apr 26, 2015, 9:37:55 PM
4/26/15
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
For me, it shows then the attribution both on top and bottom.
Chris
unread,
Apr 26, 2015, 9:42:45 PM
4/26/15
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
Ok it worked - I had put the attributionControl to layer instead directly to the map.
Thanks
Reply all
Reply to author
Forward
0 new messages