aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-04-20 16:19:04 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2014-04-20 16:19:04 +1200
commitc5940e28ce389e3c738291a1eaae3cf4872b0808 (patch)
treecfe1a68508a4c53f88b53545f42133165742271c /src/org/traccar
parent4416a24a37b5b50c6a5503f2ab9fd15941c24dfc (diff)
downloadtrackermap-web-c5940e28ce389e3c738291a1eaae3cf4872b0808.tar.gz
trackermap-web-c5940e28ce389e3c738291a1eaae3cf4872b0808.tar.bz2
trackermap-web-c5940e28ce389e3c738291a1eaae3cf4872b0808.zip
Use CDN for OpenLayers (fix #150)
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/web/client/view/MarkerIconFactory.java2
1 files changed, 1 insertions, 1 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";