Commit cee49984 authored by Eric - kg6wxc's avatar Eric - kg6wxc
Browse files

leaflet-hash.js now always loaded from local resources.

There is no reliable internet server that provides both HTTP and HTTPS
access.
parent c70ffa87
......@@ -191,7 +191,7 @@ if (!$mesh) {
echo "<link href='https://api.mapbox.com/mapbox.js/plugins/leaflet-fullscreen/v1.0.1/leaflet.fullscreen.css' rel='stylesheet'>\n";
echo "<script src='//ismyrnow.github.io/leaflet-groupedlayercontrol/src/leaflet.groupedlayercontrol.js'></script>\n";
echo "<link rel='stylesheet' href='//ismyrnow.github.io/leaflet-groupedlayercontrol/src/leaflet.groupedlayercontrol.css'>\n";
echo "<script src='//github.com/mlevans/leaflet-hash/blob/master/leaflet-hash.js'></script>\n";
}else {
echo "<link href='css/leaflet.css' rel='stylesheet'>\n";
echo "<script src='javascripts/leaflet.js'></script>\n";
......@@ -200,8 +200,8 @@ if (!$mesh) {
echo "<link href='css/leaflet.fullscreen.css' rel='stylesheet'>\n";
echo "<script src='javascripts/leaflet.groupedlayercontrol.min.js'></script>\n";
echo "<link href='css/leaflet.groupedlayercontrol.min.css' rel='stylesheet'>\n";
echo "<script src='javascripts/leaflet-hash.js'></script>\n";
}
echo "<script src='javascripts/leaflet-hash.js'></script>\n";
/*
echo "<link href='css/meshmap.css' rel='stylesheet'>\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment