brunob / leaflet.fullscreen

Leaflet.Control.FullScreen for Leaflet
https://brunob.github.io/leaflet.fullscreen/
MIT License
380 stars 110 forks source link

FullScreen icon is not showing #91

Closed sarweshkumar47 closed 2 years ago

sarweshkumar47 commented 3 years ago

Thanks for the great plugin. I've integrated this plugin into my angular project and it is working well. However, the icon is not showing on the map (just an empty box).

I tried to override the CSS and add the background image from the assets folder but no use.

.fullscreen-icon {
    background-image: url(../../../assets/favicon.png);
}

Any idea on how to fix this?

brunob commented 3 years ago

Sorry but i can't see how i could help you on this since i can't access to a demo of the bug in your environment.

sarweshkumar47 commented 3 years ago

Ahh okay. I'll create a new work environment and test this plugin.

brunob commented 3 years ago

Any news about this one ? Is the bug still present on your side ? Can we close this issue ?

brunob commented 2 years ago

No feedback, closing, feel free to comment if needed.

eoinof commented 2 years ago

This may happen because cdnjs not longer includes images in the most recent few versions of leaflet.fullscreen cf https://cdnjs.com/libraries/leaflet.fullscreen/2.4.0

If you load the css from there, then image will try to load from cdnjs too