Skip to content
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

README references outdated CSS file (Control.Geocoder.css) #355

Closed
g-fabiani opened this issue Dec 17, 2024 · 0 comments
Closed

README references outdated CSS file (Control.Geocoder.css) #355

g-fabiani opened this issue Dec 17, 2024 · 0 comments

Comments

@g-fabiani
Copy link

Description

In the README Usage section, the stylesheet Control.Geocoder.css is currently referenced for usage via unpkg.com. However, starting from version 3.0.0 the file has been renamed to leaflet-control-geocoder.css.
This results in an error when attempting to load the plugin CSS, causing the plugin widget to display incorrectly, as you can see from the attached screenshot.

image

Solution

Update the README to point to the correct file:

<link rel="stylesheet" href="https://unpkg.com/leaflet-control-geocoder/dist/leaflet-control-geocoder.css" />
<script src="https://unpkg.com/leaflet-control-geocoder/dist/Control.Geocoder.js"></script>
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

No branches or pull requests

1 participant