File: classWt_1_1WGoogleMap.html

package info (click to toggle)
witty 3.1.2-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 45,512 kB
  • ctags: 35,832
  • sloc: cpp: 69,469; ansic: 66,945; xml: 4,383; sh: 594; perl: 108; makefile: 106
file content (462 lines) | stat: -rw-r--r-- 31,973 bytes parent folder | download
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Wt: Wt::WGoogleMap Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceWt.html">Wt</a>::<a class="el" href="classWt_1_1WGoogleMap.html">WGoogleMap</a>
  </div>
</div>
<div class="contents">
<h1>Wt::WGoogleMap Class Reference</h1><!-- doxytag: class="Wt::WGoogleMap" --><!-- doxytag: inherits="Wt::WCompositeWidget" -->A widget that displays a google map.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;Wt/WGoogleMap&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for Wt::WGoogleMap:</div>
<div class="dynsection">
<p><center><img src="classWt_1_1WGoogleMap__inherit__graph.png" border="0" usemap="#Wt_1_1WGoogleMap__inherit__map" alt="Inheritance graph"></center>
<map name="Wt_1_1WGoogleMap__inherit__map">
<area shape="rect" href="classWt_1_1WCompositeWidget.html" title="A widget that hides the implementation of composite widgets." alt="" coords="5,155,165,181"><area shape="rect" href="classWt_1_1WWidget.html" title="The abstract base class for a user&#45;interface component." alt="" coords="37,80,133,107"><area shape="rect" href="classWt_1_1WObject.html" title="A base class for objects that participate in the signal/slot system." alt="" coords="37,5,133,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classWt_1_1WGoogleMap-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#302ab44e934f301001c3acf79ddc0d0c">MapTypeControl</a> { <a class="el" href="classWt_1_1WGoogleMap.html#302ab44e934f301001c3acf79ddc0d0cb4888bbfce9abc7e1bf9fd52e9c4279f">NoControl</a>, 
<a class="el" href="classWt_1_1WGoogleMap.html#302ab44e934f301001c3acf79ddc0d0ce4a7ffd51ec10ca611336505dad09837">DefaultControl</a>, 
<a class="el" href="classWt_1_1WGoogleMap.html#302ab44e934f301001c3acf79ddc0d0cc428b71c3898abd67ca433a41bae7024">MenuControl</a>, 
<a class="el" href="classWt_1_1WGoogleMap.html#302ab44e934f301001c3acf79ddc0d0ca31736b7a72e1f243ba17cdd25989594">HierarchicalControl</a>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">MapTypeControl.  <a href="classWt_1_1WGoogleMap.html#302ab44e934f301001c3acf79ddc0d0c">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3161e65e7327f093995ba2ca783cd9e"></a><!-- doxytag: member="Wt::WGoogleMap::WGoogleMap" ref="a3161e65e7327f093995ba2ca783cd9e" args="(WContainerWidget *parent=0)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a3161e65e7327f093995ba2ca783cd9e">WGoogleMap</a> (<a class="el" href="classWt_1_1WContainerWidget.html">WContainerWidget</a> *parent=0)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a map widget with optional parent. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d7b54de74f2db00d4b71be6071af0be3"></a><!-- doxytag: member="Wt::WGoogleMap::~WGoogleMap" ref="d7b54de74f2db00d4b71be6071af0be3" args="()" -->
virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#d7b54de74f2db00d4b71be6071af0be3">~WGoogleMap</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d80935926cc2a08f6dff26de3480dcc6"></a><!-- doxytag: member="Wt::WGoogleMap::addMarker" ref="d80935926cc2a08f6dff26de3480dcc6" args="(const Coordinate &amp;pos)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#d80935926cc2a08f6dff26de3480dcc6">addMarker</a> (const <a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a> &amp;pos)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds a marker overlay to the map. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#7ed22111f2c65851d7b4f5f2e43230e5">addPolyline</a> (const std::vector&lt; <a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a> &gt; &amp;points, const <a class="el" href="classWt_1_1WColor.html">WColor</a> &amp;color=red, int width=2, double opacity=1.0)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds a polyline overlay to the map.  <a href="#7ed22111f2c65851d7b4f5f2e43230e5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="77204daba9840d892e3621b129e742d4"></a><!-- doxytag: member="Wt::WGoogleMap::clearOverlays" ref="77204daba9840d892e3621b129e742d4" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#77204daba9840d892e3621b129e742d4">clearOverlays</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes all overlays from the map. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="90b58b02052aa788efcf0b9d92335112"></a><!-- doxytag: member="Wt::WGoogleMap::openInfoWindow" ref="90b58b02052aa788efcf0b9d92335112" args="(const Coordinate &amp;pos, const Wt::WString &amp;myHtml)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#90b58b02052aa788efcf0b9d92335112">openInfoWindow</a> (const <a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a> &amp;pos, const <a class="el" href="classWt_1_1WString.html">Wt::WString</a> &amp;myHtml)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Opens a text bubble with html text at a specific location. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a9f62ed546a090cc9dbcf3d10769bc80"></a><!-- doxytag: member="Wt::WGoogleMap::setCenter" ref="a9f62ed546a090cc9dbcf3d10769bc80" args="(const Coordinate &amp;center)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a9f62ed546a090cc9dbcf3d10769bc80">setCenter</a> (const <a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a> &amp;center)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the map view to the given center. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="34df0d680b54a956342d2e095229f9fe"></a><!-- doxytag: member="Wt::WGoogleMap::setCenter" ref="34df0d680b54a956342d2e095229f9fe" args="(const Coordinate &amp;center, int zoom)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#34df0d680b54a956342d2e095229f9fe">setCenter</a> (const <a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a> &amp;center, int zoom)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the map view to the given center and zoom level. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#c1d54272ff541cc54b29ed4fee288931">panTo</a> (const <a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a> &amp;center)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Changes the center point of the map to the given point.  <a href="#c1d54272ff541cc54b29ed4fee288931"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6b08ef4a408d75d10d71d005d3c65783"></a><!-- doxytag: member="Wt::WGoogleMap::zoomWindow" ref="6b08ef4a408d75d10d71d005d3c65783" args="(const std::pair&lt; Coordinate, Coordinate &gt; &amp;bbox)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#6b08ef4a408d75d10d71d005d3c65783">zoomWindow</a> (const std::pair&lt; <a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a>, <a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a> &gt; &amp;bbox)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Zooms the map to a region defined by a bounding box. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="66cf38a3c31b97c08321c5ac9bf71270"></a><!-- doxytag: member="Wt::WGoogleMap::zoomWindow" ref="66cf38a3c31b97c08321c5ac9bf71270" args="(const Coordinate &amp;topLeft, const Coordinate &amp;bottomRight)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#66cf38a3c31b97c08321c5ac9bf71270">zoomWindow</a> (const <a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a> &amp;topLeft, const <a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a> &amp;bottomRight)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Zooms the map to a region defined by a bounding box. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9b4583c4557d756ba1cecab1ab00bf9b"></a><!-- doxytag: member="Wt::WGoogleMap::setZoom" ref="9b4583c4557d756ba1cecab1ab00bf9b" args="(int level)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#9b4583c4557d756ba1cecab1ab00bf9b">setZoom</a> (int level)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the zoom level to the given new value. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fbd9cf2dc56673f4870aa91a71c3301c"></a><!-- doxytag: member="Wt::WGoogleMap::zoomIn" ref="fbd9cf2dc56673f4870aa91a71c3301c" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#fbd9cf2dc56673f4870aa91a71c3301c">zoomIn</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Increments zoom level by one. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="74363a089b5b1dcbbd644ab810c94464"></a><!-- doxytag: member="Wt::WGoogleMap::zoomOut" ref="74363a089b5b1dcbbd644ab810c94464" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#74363a089b5b1dcbbd644ab810c94464">zoomOut</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Decrements zoom level by one. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#f6addd98268d64aa33834280b8819d65">savePosition</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Stores the current map position and zoom level.  <a href="#f6addd98268d64aa33834280b8819d65"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e6abfd1d0942d0559e511caa5f2f5c97"></a><!-- doxytag: member="Wt::WGoogleMap::returnToSavedPosition" ref="e6abfd1d0942d0559e511caa5f2f5c97" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#e6abfd1d0942d0559e511caa5f2f5c97">returnToSavedPosition</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Restores the map view that was saved by <a class="el" href="classWt_1_1WGoogleMap.html#f6addd98268d64aa33834280b8819d65" title="Stores the current map position and zoom level.">savePosition()</a>. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#75c3d2a4e9c4acdf786750a10f7691a6">checkResize</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Notifies the map of a change of the size of its container.  <a href="#75c3d2a4e9c4acdf786750a10f7691a6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="83be42bcd7f4be38e04fbaec72a95b8e"></a><!-- doxytag: member="Wt::WGoogleMap::enableDragging" ref="83be42bcd7f4be38e04fbaec72a95b8e" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#83be42bcd7f4be38e04fbaec72a95b8e">enableDragging</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Enables the dragging of the map (enabled by default). <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9b8b0c3f121f498e4cf5256390880ae6"></a><!-- doxytag: member="Wt::WGoogleMap::disableDragging" ref="9b8b0c3f121f498e4cf5256390880ae6" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#9b8b0c3f121f498e4cf5256390880ae6">disableDragging</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Disables the dragging of the map. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e4993bd2e7baf017183a4ff3b554c53b"></a><!-- doxytag: member="Wt::WGoogleMap::enableDoubleClickZoom" ref="e4993bd2e7baf017183a4ff3b554c53b" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#e4993bd2e7baf017183a4ff3b554c53b">enableDoubleClickZoom</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Enables double click to zoom in and out (enabled by default). <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5cfa10ca7087f3a7f032bdbdcc422e67"></a><!-- doxytag: member="Wt::WGoogleMap::disableDoubleClickZoom" ref="5cfa10ca7087f3a7f032bdbdcc422e67" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#5cfa10ca7087f3a7f032bdbdcc422e67">disableDoubleClickZoom</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Disables double click to zoom in and out. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#ed48586350d3e4908459a47ce0822348">enableGoogleBar</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Enables the GoogleBar, an integrated search control, on the map.  <a href="#ed48586350d3e4908459a47ce0822348"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#3982558cba9768c4815e7fbb6c23d92f">disableGoogleBar</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Disables the GoogleBar integrated search control.  <a href="#3982558cba9768c4815e7fbb6c23d92f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#39dc1da1fe51f1c285dac04e565fdfa5">enableScrollWheelZoom</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Enables zooming using a mouse's scroll wheel.  <a href="#39dc1da1fe51f1c285dac04e565fdfa5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#90462279e5092088aba4e79c2f4eaab9">disableScrollWheelZoom</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Disables zooming using a mouse's scroll wheel.  <a href="#90462279e5092088aba4e79c2f4eaab9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#d5b1aabd260b3b05e9888718264c40e2">setMapTypeControl</a> (<a class="el" href="classWt_1_1WGoogleMap.html#302ab44e934f301001c3acf79ddc0d0c">MapTypeControl</a> type)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the map type control.  <a href="#d5b1aabd260b3b05e9888718264c40e2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classWt_1_1JSignal.html">JSignal</a>&lt; <a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#3b1b5e513502222e89d8fbcfb79a9198">clicked</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The click event.  <a href="#3b1b5e513502222e89d8fbcfb79a9198"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classWt_1_1JSignal.html">JSignal</a>&lt; <a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a81efcc86e7ab1b6a6701e97d9e3fb02">doubleClicked</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The double click event.  <a href="#a81efcc86e7ab1b6a6701e97d9e3fb02"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dfdd221d9ea430870f052a2180028f73"></a><!-- doxytag: member="Wt::WGoogleMap::mouseMoved" ref="dfdd221d9ea430870f052a2180028f73" args="()" -->
<a class="el" href="classWt_1_1JSignal.html">JSignal</a>&lt; <a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#dfdd221d9ea430870f052a2180028f73">mouseMoved</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This event is fired when the user moves the mouse inside the map. <br></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A geographical coordinate (latitude/longitude).  <a href="classWt_1_1WGoogleMap_1_1Coordinate.html#_details">More...</a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A widget that displays a google map. 
<p>
This widget uses the online Google Maps server to display a map. It exposes a part of the google maps API.<p>
To use the map on a public server you will need to obtain a key. The widget will look for this key as the configuration property <code>"google_api_key"</code>. If this configuration property has not been set, it will use a key that is suitable for localhost.<p>
<h3>CSS</h3>
<p>
Styling through CSS is not applicable.<p>
Contributed by: Richard Ulrich. <hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="302ab44e934f301001c3acf79ddc0d0c"></a><!-- doxytag: member="Wt::WGoogleMap::MapTypeControl" ref="302ab44e934f301001c3acf79ddc0d0c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classWt_1_1WGoogleMap.html#302ab44e934f301001c3acf79ddc0d0c">Wt::WGoogleMap::MapTypeControl</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
MapTypeControl. 
<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="302ab44e934f301001c3acf79ddc0d0cb4888bbfce9abc7e1bf9fd52e9c4279f"></a><!-- doxytag: member="NoControl" ref="302ab44e934f301001c3acf79ddc0d0cb4888bbfce9abc7e1bf9fd52e9c4279f" args="" -->NoControl</em>&nbsp;</td><td>
Show no maptype control. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="302ab44e934f301001c3acf79ddc0d0ce4a7ffd51ec10ca611336505dad09837"></a><!-- doxytag: member="DefaultControl" ref="302ab44e934f301001c3acf79ddc0d0ce4a7ffd51ec10ca611336505dad09837" args="" -->DefaultControl</em>&nbsp;</td><td>
Show the default maptype control. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="302ab44e934f301001c3acf79ddc0d0cc428b71c3898abd67ca433a41bae7024"></a><!-- doxytag: member="MenuControl" ref="302ab44e934f301001c3acf79ddc0d0cc428b71c3898abd67ca433a41bae7024" args="" -->MenuControl</em>&nbsp;</td><td>
Show the menu maptype control. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="302ab44e934f301001c3acf79ddc0d0ca31736b7a72e1f243ba17cdd25989594"></a><!-- doxytag: member="HierarchicalControl" ref="302ab44e934f301001c3acf79ddc0d0ca31736b7a72e1f243ba17cdd25989594" args="" -->HierarchicalControl</em>&nbsp;</td><td>
Show the hierarchical maptype control. </td></tr>
</table>
</dl>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="7ed22111f2c65851d7b4f5f2e43230e5"></a><!-- doxytag: member="Wt::WGoogleMap::addPolyline" ref="7ed22111f2c65851d7b4f5f2e43230e5" args="(const std::vector&lt; Coordinate &gt; &amp;points, const WColor &amp;color=red, int width=2, double opacity=1.0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WGoogleMap::addPolyline           </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a> &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>points</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WColor.html">WColor</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>color</em> = <code>red</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>width</em> = <code>2</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>opacity</em> = <code>1.0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Adds a polyline overlay to the map. 
<p>
specify a value between 0.0 and 1.0 for the opacity. 
</div>
</div><p>
<a class="anchor" name="c1d54272ff541cc54b29ed4fee288931"></a><!-- doxytag: member="Wt::WGoogleMap::panTo" ref="c1d54272ff541cc54b29ed4fee288931" args="(const Coordinate &amp;center)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WGoogleMap::panTo           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>center</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Changes the center point of the map to the given point. 
<p>
If the point is already visible in the current map view, change the center in a smooth animation. 
</div>
</div><p>
<a class="anchor" name="f6addd98268d64aa33834280b8819d65"></a><!-- doxytag: member="Wt::WGoogleMap::savePosition" ref="f6addd98268d64aa33834280b8819d65" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WGoogleMap::savePosition           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Stores the current map position and zoom level. 
<p>
You can later restore this position using <a class="el" href="classWt_1_1WGoogleMap.html#e6abfd1d0942d0559e511caa5f2f5c97" title="Restores the map view that was saved by savePosition().">returnToSavedPosition()</a>. 
</div>
</div><p>
<a class="anchor" name="75c3d2a4e9c4acdf786750a10f7691a6"></a><!-- doxytag: member="Wt::WGoogleMap::checkResize" ref="75c3d2a4e9c4acdf786750a10f7691a6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WGoogleMap::checkResize           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Notifies the map of a change of the size of its container. 
<p>
Call this method after the size of the container DOM object has changed, so that the map can adjust itself to fit the new size. 
</div>
</div><p>
<a class="anchor" name="ed48586350d3e4908459a47ce0822348"></a><!-- doxytag: member="Wt::WGoogleMap::enableGoogleBar" ref="ed48586350d3e4908459a47ce0822348" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WGoogleMap::enableGoogleBar           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Enables the GoogleBar, an integrated search control, on the map. 
<p>
When enabled, this control takes the place of the default Powered By Google logo.<p>
This control is initially disabled. 
</div>
</div><p>
<a class="anchor" name="3982558cba9768c4815e7fbb6c23d92f"></a><!-- doxytag: member="Wt::WGoogleMap::disableGoogleBar" ref="3982558cba9768c4815e7fbb6c23d92f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WGoogleMap::disableGoogleBar           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Disables the GoogleBar integrated search control. 
<p>
When disabled, the default Powered by Google logo occupies the position formerly containing this control. Note that this control is already disabled by default. 
</div>
</div><p>
<a class="anchor" name="39dc1da1fe51f1c285dac04e565fdfa5"></a><!-- doxytag: member="Wt::WGoogleMap::enableScrollWheelZoom" ref="39dc1da1fe51f1c285dac04e565fdfa5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WGoogleMap::enableScrollWheelZoom           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Enables zooming using a mouse's scroll wheel. 
<p>
Scroll wheel zoom is disabled by default. 
</div>
</div><p>
<a class="anchor" name="90462279e5092088aba4e79c2f4eaab9"></a><!-- doxytag: member="Wt::WGoogleMap::disableScrollWheelZoom" ref="90462279e5092088aba4e79c2f4eaab9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WGoogleMap::disableScrollWheelZoom           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Disables zooming using a mouse's scroll wheel. 
<p>
Scroll wheel zoom is disabled by default. 
</div>
</div><p>
<a class="anchor" name="d5b1aabd260b3b05e9888718264c40e2"></a><!-- doxytag: member="Wt::WGoogleMap::setMapTypeControl" ref="d5b1aabd260b3b05e9888718264c40e2" args="(MapTypeControl type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WGoogleMap::setMapTypeControl           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWt_1_1WGoogleMap.html#302ab44e934f301001c3acf79ddc0d0c">MapTypeControl</a>&nbsp;</td>
          <td class="paramname"> <em>type</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the map type control. 
<p>
The control allows selecting and switching between supported map types via buttons. 
</div>
</div><p>
<a class="anchor" name="3b1b5e513502222e89d8fbcfb79a9198"></a><!-- doxytag: member="Wt::WGoogleMap::clicked" ref="3b1b5e513502222e89d8fbcfb79a9198" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1JSignal.html">JSignal</a>&lt;<a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a>&gt;&amp; Wt::WGoogleMap::clicked           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The click event. 
<p>
This event is fired when the user clicks on the map with the mouse. 
</div>
</div><p>
<a class="anchor" name="a81efcc86e7ab1b6a6701e97d9e3fb02"></a><!-- doxytag: member="Wt::WGoogleMap::doubleClicked" ref="a81efcc86e7ab1b6a6701e97d9e3fb02" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1JSignal.html">JSignal</a>&lt;<a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a>&gt;&amp; Wt::WGoogleMap::doubleClicked           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The double click event. 
<p>
This event is fired when a double click is done on the map. 
</div>
</div><p>
</div>
<hr size="1"><address style="align: right;"><small>
Generated on Fri Mar 26 17:12:07 2010 for <a href="http://www.webtoolkit.eu/wt/">Wt</a> by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6</small></address>
</body>
</html>