[Pkg-javascript-commits] [leaflet-markercluster] 143/479: Add some styles so the poor people who use IE <= 8 can see the clusters (Surprised no one has complained about this yet!)

Jonas Smedegaard dr at jones.dk
Thu Oct 16 16:00:22 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository leaflet-markercluster.

commit b1ce2775b67c568bd56ee89b3400a0368e0f6a07
Author: danzel <danzel at localhost.geek.nz>
Date:   Thu Aug 2 10:59:54 2012 +1200

    Add some styles so the poor people who use IE <= 8 can see the clusters (Surprised no one has complained about this yet!)
---
 dist/MarkerCluster.Default.ie.css                  | 34 ++++++++++++++++++++++
 example/marker-clustering-convexhull.html          |  1 +
 example/marker-clustering-everything.html          |  1 +
 .../marker-clustering-realworld-mobile.388.html    |  1 +
 example/marker-clustering-realworld.10000.html     |  1 +
 example/marker-clustering-realworld.388.html       |  1 +
 example/marker-clustering-realworld.50000.html     |  1 +
 example/marker-clustering-spiderfier.html          |  1 +
 example/marker-clustering-zoomtobounds.html        |  1 +
 example/marker-clustering.html                     |  1 +
 10 files changed, 43 insertions(+)

diff --git a/dist/MarkerCluster.Default.ie.css b/dist/MarkerCluster.Default.ie.css
new file mode 100644
index 0000000..6b3c42c
--- /dev/null
+++ b/dist/MarkerCluster.Default.ie.css
@@ -0,0 +1,34 @@
+ /* IE 6-8 fallback colors */
+.marker-cluster-small {
+	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99B5E28C,endColorstr=#99B5E28C);
+	}
+.marker-cluster-small div {
+	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#996ECC39,endColorstr=#996ECC39);
+	}
+
+.marker-cluster-medium {
+	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99F1D357,endColorstr=#99F1D357);
+	}
+.marker-cluster-medium div {
+	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99F0C20C,endColorstr=#99F0C20C);
+	}
+
+.marker-cluster-large {
+	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99FD9C73,endColorstr=#99FD9C73);
+	}
+.marker-cluster-large div {
+	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99F18017,endColorstr=#99F18017);
+}
+
+.marker-cluster {
+	background:transparent;
+	zoom:1;
+}
+.marker-cluster div {
+	/* fixes the center part position. No idea why this is needed */
+	margin-left: 0px;
+
+	background:transparent;
+	zoom:1;
+}
+
diff --git a/example/marker-clustering-convexhull.html b/example/marker-clustering-convexhull.html
index 17662ab..cd77cd1 100644
--- a/example/marker-clustering-convexhull.html
+++ b/example/marker-clustering-convexhull.html
@@ -12,6 +12,7 @@
 
 	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
 	<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
+	<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
 	<script src="../src/MarkerClusterGroup.js"></script>
 	<script src="../src/MarkerCluster.js"></script>
 	<script src="../src/MarkerCluster.QuickHull.js"></script>
diff --git a/example/marker-clustering-everything.html b/example/marker-clustering-everything.html
index 45c92e4..6a75300 100644
--- a/example/marker-clustering-everything.html
+++ b/example/marker-clustering-everything.html
@@ -12,6 +12,7 @@
 
 	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
 	<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
+	<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
 	<script src="../dist/leaflet.markercluster-src.js"></script>
 </head>
 <body>
diff --git a/example/marker-clustering-realworld-mobile.388.html b/example/marker-clustering-realworld-mobile.388.html
index a4fedff..d42c864 100644
--- a/example/marker-clustering-realworld-mobile.388.html
+++ b/example/marker-clustering-realworld-mobile.388.html
@@ -11,6 +11,7 @@
 
 	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
 	<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
+	<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
 	<script src="../dist/leaflet.markercluster-src.js"></script>
 	<script src="realworld.388.js"></script>
 </head>
diff --git a/example/marker-clustering-realworld.10000.html b/example/marker-clustering-realworld.10000.html
index 81e3529..1cf45d4 100644
--- a/example/marker-clustering-realworld.10000.html
+++ b/example/marker-clustering-realworld.10000.html
@@ -12,6 +12,7 @@
 
 	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
 	<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
+	<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
 	<script src="../dist/leaflet.markercluster-src.js"></script>
 	
 	<script src="realworld.10000.js"></script>
diff --git a/example/marker-clustering-realworld.388.html b/example/marker-clustering-realworld.388.html
index b61900b..ecd4438 100644
--- a/example/marker-clustering-realworld.388.html
+++ b/example/marker-clustering-realworld.388.html
@@ -12,6 +12,7 @@
 
 	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
 	<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
+	<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
 	<script src="../dist/leaflet.markercluster-src.js"></script>
 	
 	<script src="realworld.388.js"></script>
diff --git a/example/marker-clustering-realworld.50000.html b/example/marker-clustering-realworld.50000.html
index 49685a0..743b21f 100644
--- a/example/marker-clustering-realworld.50000.html
+++ b/example/marker-clustering-realworld.50000.html
@@ -12,6 +12,7 @@
 
 	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
 	<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
+	<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
 	<script src="../dist/leaflet.markercluster-src.js"></script>
 	
 	<script src="realworld.50000.1.js"></script>
diff --git a/example/marker-clustering-spiderfier.html b/example/marker-clustering-spiderfier.html
index 2b35e15..89a558d 100644
--- a/example/marker-clustering-spiderfier.html
+++ b/example/marker-clustering-spiderfier.html
@@ -12,6 +12,7 @@
 
 	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
 	<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
+	<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
 	<script src="../src/MarkerClusterGroup.js"></script>
 	<script src="../src/MarkerCluster.js"></script>
 	<script src="../src/MarkerCluster.Spiderfier.js"></script>
diff --git a/example/marker-clustering-zoomtobounds.html b/example/marker-clustering-zoomtobounds.html
index aedb2bf..ec89f64 100644
--- a/example/marker-clustering-zoomtobounds.html
+++ b/example/marker-clustering-zoomtobounds.html
@@ -12,6 +12,7 @@
 
 	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
 	<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
+	<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
 	<script src="../src/MarkerClusterGroup.js"></script>
 	<script src="../src/MarkerCluster.js"></script>
 </head>
diff --git a/example/marker-clustering.html b/example/marker-clustering.html
index 157600b..a168e12 100644
--- a/example/marker-clustering.html
+++ b/example/marker-clustering.html
@@ -12,6 +12,7 @@
 
 	<link rel="stylesheet" href="../dist/MarkerCluster.css" />
 	<link rel="stylesheet" href="../dist/MarkerCluster.Default.css" />
+	<!--[if lte IE 8]><link rel="stylesheet" href="../dist/MarkerCluster.Default.ie.css" /><![endif]-->
 	<script src="../src/MarkerClusterGroup.js"></script>
 	<script src="../src/MarkerCluster.js"></script>
 </head>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet-markercluster.git



More information about the Pkg-javascript-commits mailing list