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

View File

@@ -12,7 +12,6 @@
height: 100%;
}
</style>
<link rel="stylesheet" href="../css/ol.css" type="text/css">
<title>ol3 full-screen demo</title>
</head>
<body>

View File

@@ -54,6 +54,8 @@
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('&');
document.write('<script type="text/javascript" src="' + url + '"></script>');
}());

View File

@@ -66,7 +66,6 @@
margin-left: -13px;
}
</style>
<link rel="stylesheet" href="../css/ol.css" type="text/css">
<title>ol3 overlay-and-popup demo</title>
</head>
<body>

View File

@@ -2,7 +2,6 @@
<html>
<head>
<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">
<style type="text/css">
.map {

View File

@@ -2,7 +2,6 @@
<html>
<head>
<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">
<style type="text/css">
.map {