Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: cdcc9e5477
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (29 sloc) 1.259 kB
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0;">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>MapQuery google maps example</title>
<link rel='StyleSheet' type='text/css' href='style/style.css'/>
<!--This example needs googlemaps API-->
<script src="http://maps.google.com/maps/api/js?v=3.5&amp;sensor=false" type="text/javascript"></script>
<!--This example needs googleNG layer from openlayers which is not yet available in the releases-->
<script src="http://mapquery.org/0.1/lib/openlayers/OpenLayers.js" type="text/javascript"></script>
<script src="../lib/jquery/jquery-1.6.2.js" type="text/javascript"></script>
<script src="../src/jquery.mapquery.core.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
//initialise mapquery with an Google terrain layer
$('#map').mapQuery({
layers:[{
type:'google', //create a google maps layer
view:'terrain' //use the google terrain layer, instead of google road (default)
}]
});
});
</script>
</head>
<body>
<div id="map" class="map"></div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.