blob: 768c76eef078f01962e82621f398b2298b0fa0b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>refresh | geomap</title>
<meta name="description" content="geomap refresh method">
<meta name="author" content="Ryan Westphal">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../css/style.css?v=2">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" />
</head>
<body>
<div id="refresh" data-role="page">
<div data-role="header" data-theme="e">
<h1>refresh</h1>
</div>
<div data-role="content">
<table>
<tr>
<th>return type</th>
<td>undefined</td>
</tr>
<tr>
<th>syntax</th>
<td>.geomap( "refresh" )</td>
</tr>
<tr>
<th>usage</th>
<td><pre><code>$("#map").geomap( "refresh" )</code></pre></td>
</tr>
</table>
<p>
This method refreshes
all services and graphics in the map. Usually, changing geomap properties or calling methods automatically refreshes the map appropriately. However, you can call this after you have added or removed shapes to geomap by passing false as the refresh argument to the append, remove, or empty methods.</p>
</div>
</div> <!-- end of #container -->
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script src="http://code.jquerygeo.com/jquery.geo-1.0a4.min.js"></script>
<script src="../js/script.js"></script>
<script src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>
</body>
</html>
|