Skip to content

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

@g-fabiani

Description

@g-fabiani

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions