Skip to content

Commit b848a1e

Browse files
simon04perliedman
authored andcommitted
README: add usage via unpkg.com (#186)
1 parent 1e10773 commit b848a1e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,11 @@ See the [Leaflet Control Geocoder Demo](http://perliedman.github.com/leaflet-con
3131

3232
# Usage
3333

34-
[Download latest release](https://github.com/perliedman/leaflet-control-geocoder/releases). Load the CSS and Javascript, located in
35-
the `dist` folder:
34+
[Download latest release](https://github.com/perliedman/leaflet-control-geocoder/releases), or obtain the latest release via [unpkg.com](https://unpkg.com/):
3635

3736
```HTML
38-
<link rel="stylesheet" href="Control.Geocoder.css" />
39-
<script src="Control.Geocoder.js"></script>
37+
<link rel="stylesheet" href="https://unpkg.com/leaflet-control-geocoder/dist/Control.Geocoder.css" />
38+
<script src="https://unpkg.com/leaflet-control-geocoder/dist/Control.Geocoder.js"></script>
4039
```
4140

4241
Add the control to a map instance:

0 commit comments

Comments
 (0)