The loader adds link tag for ol.css

This commit is contained in:
Éric Lemoine
2012-10-16 21:55:12 +02:00
parent f4b20175cc
commit 190e21f796
5 changed files with 2 additions and 4 deletions
-1
View File
@@ -12,7 +12,6 @@
height: 100%; height: 100%;
} }
</style> </style>
<link rel="stylesheet" href="../css/ol.css" type="text/css">
<title>ol3 full-screen demo</title> <title>ol3 full-screen demo</title>
</head> </head>
<body> <body>
+2
View File
@@ -54,6 +54,8 @@
pairs.push(encodeURIComponent(key) + '=' + encodeURIComponent(params[key])); pairs.push(encodeURIComponent(key) + '=' + encodeURIComponent(params[key]));
} }
document.write('<link rel="stylesheet" href="../css/ol.css" ' +
'type="text/css">');
var url = 'http://' + host + '/compile?' + pairs.join('&'); var url = 'http://' + host + '/compile?' + pairs.join('&');
document.write('<script type="text/javascript" src="' + url + '"></script>'); document.write('<script type="text/javascript" src="' + url + '"></script>');
}()); }());
-1
View File
@@ -66,7 +66,6 @@
margin-left: -13px; margin-left: -13px;
} }
</style> </style>
<link rel="stylesheet" href="../css/ol.css" type="text/css">
<title>ol3 overlay-and-popup demo</title> <title>ol3 overlay-and-popup demo</title>
</head> </head>
<body> <body>
-1
View File
@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="../css/ol.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css"> <link rel="stylesheet" href="style.css" type="text/css">
<style type="text/css"> <style type="text/css">
.map { .map {
-1
View File
@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="../css/ol.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css"> <link rel="stylesheet" href="style.css" type="text/css">
<style type="text/css"> <style type="text/css">
.map { .map {