Skip to content

Commit

Permalink
add example/images/owmloading.gif direct link to assets location
Browse files Browse the repository at this point in the history
  • Loading branch information
jywarren authored and RuthNjeri committed Feb 18, 2021
1 parent 2be21d9 commit 7f18bca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/javascripts/leafletHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
options.setHash = params.setHash || false;
options.mainContent = params.mainContent || ""; // "content" to show site content, default "" shows no site content
options.displayAllLayers = params.displayAllLayers || false; // turn on display for all maps available in menu
options.imageLoadingUrl = "/lib/leaflet-environmental-layers/example/images/owmloading.gif";

if (typeof options.layers === "string") {
options.layers = options.layers.split(',');
Expand Down

0 comments on commit 7f18bca

Please sign in to comment.