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

Move some dist/ files into src/ #127

Merged
merged 3 commits into from
Mar 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Click on a point or marker on the map to learn more about it .

#### Add a legend

In `dist/legendCreation.js`, add `addLayerNameURLPair(layer_var, "img_url");`, where `layer_var` is consistent with the variable used in `example/index.html` and `img_url` is the source of the image to be used as the legend.
In `src/legendCreation.js`, add `addLayerNameURLPair(layer_var, "img_url");`, where `layer_var` is consistent with the variable used in `example/index.html` and `img_url` is the source of the image to be used as the legend.

### Spreadsheet-based layers

Expand Down Expand Up @@ -132,7 +132,7 @@ We're going to try spinning this out into its own library; see: https://github.c

### To use Wind Rose Layer :

<script src="../dist/windRoseLayer.js"></script>
<script src="../src/windRoseLayer.js"></script>
<link href="../dist/LeafletEnvironmentalLayers.css" rel="stylesheet">

### To use Wisconsin Non-Metallic Layer :
Expand Down
4 changes: 2 additions & 2 deletions example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

</style>
<script src="../dist/LeafletEnvironmentalLayers.js"></script>
<script src="../dist/windRoseLayer.js"></script>
<script src="../src/windRoseLayer.js"></script>
<script src="../node_modules/leaflet-fullhash/leaflet-fullHash.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>

Expand Down Expand Up @@ -250,7 +250,7 @@
leafletControl.addTo(map);

</script>
<script src="../dist/legendCreation.js"></script>
<script src="../src/legendCreation.js"></script>

</body>
</html>
Loading