Alexandre Dubé 388c604f35 Fix CSS while Google Maps is active
When Google Maps is active, the CSS of the OL3 component changes.
This fix makes sure that the CSS stays 'as-is'.
2015-10-09 16:17:05 -04:00

51 lines
1.8 KiB
HTML

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="index, all" />
<title>OL3-Google-Maps vector example</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" />
<link rel="stylesheet" href="../ol3/css/ol.css" type="text/css" />
<link rel="stylesheet" href="../css/ol3gm.css" type="text/css" />
<link rel="stylesheet" href="./resources/layout.css" type="text/css" />
</head>
<body>
<div class="container-fluid">
<div class="row-fluid">
<div class="span12">
<div id="map" class="map"></div>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<h4>Vector example</h4>
<p>
Demonstrates the synchronization between a vector layer added
to the OpenLayers map with Google Maps.
</p>
<p>
OL3-Google-Maps detects any vector layer added to the OpenLayers
map and synchronize the vector features added to it to the
Google Maps map. The geometry and style are also synchronized.
</p>
<input id="toggle" type="button" onclick="toggle();"
value="Toggle Between OL3 and GMAPS" />
</div>
</div>
</div>
<script src="../ol3/build/ol.js"></script>
<!-- GoogleMaps API Key for 127.0.0.1 -->
<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?v=3.21&key=AIzaSyD71KlyTCXJouZsGbgPCJ-oCtK76fZJUTQ"></script>
<script src="/@loader"></script>
<script src="vector.js"></script>
</body>
</html>