Skip to content

doc: Add missing import for Control.FullScreen.css #152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danidee10
Copy link

Without this import. The svg button is not loaded and yo end up with a "blank button"

Without this import. The svg button is not loaded and yo end up with a "blank button"
@brunob
Copy link
Owner

brunob commented Nov 5, 2024

Any thought on this @BePo65 ?

@BePo65
Copy link
Contributor

BePo65 commented Nov 7, 2024

I'll take a look at it on the next weekend - quite busy at the moment :-)

@BePo65
Copy link
Contributor

BePo65 commented Nov 10, 2024

Basically we could give some hints on how the "Include Control.FullScreen.css in your page" from the "How?" section can be done in esm based frameworks. But the PR is for react only.

So perhaps it would be better to add a 3rd point, which could look like:

3. Add `leaflet.fullscreen/Control.FullScreen.css` from the node_modules directory to your project. In React you have to import this file and in Angular you have to add './node_modules/leaflet.fullscreen/Control.FullScreen.css' to your angular.json file.

@brunob
Copy link
Owner

brunob commented Nov 12, 2024

@danidee10 could you update your PR as suggested by @BePo65 ?

@brunob
Copy link
Owner

brunob commented Mar 6, 2025

bump @danidee10 or should we close this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants