mourner / ama

Ask me anything!
6 stars 0 forks source link

L.control.attribution #19

Closed ghost closed 8 years ago

ghost commented 8 years ago

Hello Vladimir,

Thank you for offering your help here. I have built a MapBox application. I wanted to add a copyright prior to MapBox's copyright logo. I used your L.control.attribution as:

varName = L.control.attribution({prefix: 'some text'}).addTo(map);

I used FireFox inspector and found that 'some text' is a child of ->

from leaflet.css.

I have my own custom.css file and I tried to use it to override the class leaflet-control-attribution in leaflet.css but it is not working. Is this something from MapBox.css to prevent changes or from leaflet? Is there a solution to fix this? I just wanted to change the background of the parent div of the L.control.attribution DOM object.

Thanks in advance

Ahmad

mourner commented 8 years ago

This repo is not for support requests. Please ask your question on StackOverflow or Leaflet forum.

ghost commented 8 years ago

Oh sorry for this. I just posted it in https://groups.google.com/forum/#!forum/leaflet-js

Ahmad

On Feb 19, 2016, at 4:38 AM, Vladimir Agafonkin notifications@github.com wrote:

This repo is not for support requests. Please ask your question on StackOverflow or Leaflet forum.

— Reply to this email directly or view it on GitHub https://github.com/mourner/ama/issues/19#issuecomment-186138092.

ghost commented 8 years ago

Oh sorry for this. I just posted it in https://groups.google.com/forum/#!forum/leaflet-js

Ahmad

On Feb 19, 2016, at 4:38 AM, Vladimir Agafonkin notifications@github.com wrote:

This repo is not for support requests. Please ask your question on StackOverflow or Leaflet forum.

— Reply to this email directly or view it on GitHub https://github.com/mourner/ama/issues/19#issuecomment-186138092.