aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/org/traccar/web/client/view/MarkerIconFactory.java2
-rw-r--r--war/traccar.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/web/client/view/MarkerIconFactory.java b/src/org/traccar/web/client/view/MarkerIconFactory.java
index bc850bdd..46965d57 100644
--- a/src/org/traccar/web/client/view/MarkerIconFactory.java
+++ b/src/org/traccar/web/client/view/MarkerIconFactory.java
@@ -24,7 +24,7 @@ class MarkerIconFactory {
private static final Size iconSize = new Size(21, 25);
private static final Pixel iconOffset = new Pixel(-10.5f, -25.0f);
- private static final String iconUrl = "http://www.openlayers.org/api/img/";
+ private static final String iconUrl = "http://cdnjs.cloudflare.com/ajax/libs/openlayers/2.13.1/img/";
private static final String iconRed = iconUrl + "marker.png";
private static final String iconBlue = iconUrl + "marker-blue.png";
private static final String iconGreen = iconUrl + "marker-green.png";
diff --git a/war/traccar.html b/war/traccar.html
index 255b09e6..f5de9fea 100644
--- a/war/traccar.html
+++ b/war/traccar.html
@@ -6,7 +6,7 @@
<link rel="stylesheet" type="text/css" href="traccar/reset.css" />
- <script src="http://www.openlayers.org/api/OpenLayers.js"></script>
+ <script src="http://cdnjs.cloudflare.com/ajax/libs/openlayers/2.13.1/OpenLayers.js"></script>
<script src="http://www.openstreetmap.org/openlayers/OpenStreetMap.js"></script>
<script src="http://maps.google.com/maps/api/js?v=3&amp;sensor=false"></script>
<script type="text/javascript" src="traccar/traccar.nocache.js"></script>