5 <title>static mode example</title>
6 <meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1">
7 <meta name="description" content="An example of static mode">
8 <meta name="author" content="Ryan Westphal">
9 <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/blitzer/jquery-ui.css" />
10 <link rel="stylesheet" type="text/css" href="css/style.css" />
11 <style type="text/css">
28 <a href="../" class="docLink">< docs</a>
29 <a href="http://jsfiddle.net/ryanttb/==JSFIDDLE==/embedded/" class="fiddleLink"><img src="img/jsfiddle.png" alt="" /> jsFiddle ></a>
32 <p>When the mode option is set to "static" a developer can create a map that the user can see but cannot change.</p>
35 <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
36 <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
37 <script src="http://code.jquerygeo.com/jquery.geo-1.0a4.min.js"></script>
40 // create a map with mode set to static
41 var map = $("#map").geomap({
42 center: [-71.0595678, 42.3604823],
50 var _gaq = [['_setAccount', 'UA-26084853-1'], ['_trackPageview']];
52 var g = d.createElement(t), s = d.getElementsByTagName(t)[0]; g.async = 1;
53 g.src = ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js';
54 s.parentNode.insertBefore(g, s);
55 } (document, 'script'));