From c5940e28ce389e3c738291a1eaae3cf4872b0808 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 20 Apr 2014 16:19:04 +1200 Subject: Use CDN for OpenLayers (fix #150) --- src/org/traccar/web/client/view/MarkerIconFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org') 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"; -- cgit v1.2.3