The loader adds link tag for ol.css
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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>');
|
||||||
}());
|
}());
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user