Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > b3a1f4d91c26f535919e39e25606614a > files > 1778

wt-doc-3.2.3-1.fc18.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Wt: Wt::WGoogleMap Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Wt
   &#160;<span id="projectnumber">3.2.3</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceWt.html">Wt</a>      </li>
      <li class="navelem"><a class="el" href="classWt_1_1WGoogleMap.html">WGoogleMap</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Wt::WGoogleMap Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Wt::WGoogleMap" --><!-- doxytag: inherits="Wt::WCompositeWidget" -->
<p>A widget that displays a google map.  
 <a href="classWt_1_1WGoogleMap.html#details">More...</a></p>

<p><code>#include &lt;Wt/WGoogleMap&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Wt::WGoogleMap:</div>
<div class="dyncontent">
<div class="center"><img src="classWt_1_1WGoogleMap__inherit__graph.png" border="0" usemap="#Wt_1_1WGoogleMap_inherit__map" alt="Inheritance graph"/></div>
<map name="Wt_1_1WGoogleMap_inherit__map" id="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,168,181"/><area shape="rect" href="classWt_1_1WWidget.html" title="The abstract base class for a user&#45;interface component." alt="" coords="37,80,136,107"/><area shape="rect" href="classWt_1_1WObject.html" title="A base class for objects that participate in the signal/slot system." alt="" coords="39,5,135,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classWt_1_1WGoogleMap-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A geographical coordinate (latitude/longitude)  <a href="classWt_1_1WGoogleMap_1_1Coordinate.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#aa1a009766a565dd32e5ba3ab2b91f060">ApiVersion</a> { <a class="el" href="classWt_1_1WGoogleMap.html#aa1a009766a565dd32e5ba3ab2b91f060aa2297c54e44be5057ba5bb7c91f48e6d">Version2</a>, 
<a class="el" href="classWt_1_1WGoogleMap.html#aa1a009766a565dd32e5ba3ab2b91f060a2bead89dc50860e3eb63077adfee2556">Version3</a>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">ApiVersion.  <a href="classWt_1_1WGoogleMap.html#aa1a009766a565dd32e5ba3ab2b91f060">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a302ab44e934f301001c3acf79ddc0d0c">MapTypeControl</a> { <br/>
&#160;&#160;<a class="el" href="classWt_1_1WGoogleMap.html#a302ab44e934f301001c3acf79ddc0d0cab4888bbfce9abc7e1bf9fd52e9c4279f">NoControl</a>, 
<a class="el" href="classWt_1_1WGoogleMap.html#a302ab44e934f301001c3acf79ddc0d0cae4a7ffd51ec10ca611336505dad09837">DefaultControl</a>, 
<a class="el" href="classWt_1_1WGoogleMap.html#a302ab44e934f301001c3acf79ddc0d0cac428b71c3898abd67ca433a41bae7024">MenuControl</a>, 
<a class="el" href="classWt_1_1WGoogleMap.html#a302ab44e934f301001c3acf79ddc0d0caa31736b7a72e1f243ba17cdd25989594">HierarchicalControl</a>, 
<br/>
&#160;&#160;<a class="el" href="classWt_1_1WGoogleMap.html#a302ab44e934f301001c3acf79ddc0d0ca3cd10afecff1499041b458a76d79dbc0">HorizontalBarControl</a>
<br/>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">MapTypeControl.  <a href="classWt_1_1WGoogleMap.html#a302ab44e934f301001c3acf79ddc0d0c">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a03ef71241c359354d02f66b117344ead"></a><!-- doxytag: member="Wt::WGoogleMap::WGoogleMap" ref="a03ef71241c359354d02f66b117344ead" args="(ApiVersion version, WContainerWidget *parent=0)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a03ef71241c359354d02f66b117344ead">WGoogleMap</a> (<a class="el" href="classWt_1_1WGoogleMap.html#aa1a009766a565dd32e5ba3ab2b91f060">ApiVersion</a> version, <a class="el" href="classWt_1_1WContainerWidget.html">WContainerWidget</a> *parent=0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a map widget with a version and optionally a parent argument. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa3161e65e7327f093995ba2ca783cd9e"></a><!-- doxytag: member="Wt::WGoogleMap::WGoogleMap" ref="aa3161e65e7327f093995ba2ca783cd9e" args="(WContainerWidget *parent=0)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#aa3161e65e7327f093995ba2ca783cd9e">WGoogleMap</a> (<a class="el" href="classWt_1_1WContainerWidget.html">WContainerWidget</a> *parent=0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a map widget with optionally a parent argument. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7b54de74f2db00d4b71be6071af0be3"></a><!-- doxytag: member="Wt::WGoogleMap::~WGoogleMap" ref="ad7b54de74f2db00d4b71be6071af0be3" args="()" -->
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#ad7b54de74f2db00d4b71be6071af0be3">~WGoogleMap</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad80935926cc2a08f6dff26de3480dcc6"></a><!-- doxytag: member="Wt::WGoogleMap::addMarker" ref="ad80935926cc2a08f6dff26de3480dcc6" args="(const Coordinate &amp;pos)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#ad80935926cc2a08f6dff26de3480dcc6">addMarker</a> (const <a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a> &amp;pos)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a marker overlay to the map. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#ac1ce20bca64f3fa033cc41b7d6825534">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=<a class="el" href="classWt_1_1WColor.html">WColor</a>(red), int width=2, double opacity=1.0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a polyline overlay to the map.  <a href="#ac1ce20bca64f3fa033cc41b7d6825534"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a9e8be8d6d2edea9b3357ff00aeb0ffdc">addCircle</a> (const <a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a> &amp;center, double radius, const <a class="el" href="classWt_1_1WColor.html">WColor</a> &amp;strokeColor, int strokeWidth, const <a class="el" href="classWt_1_1WColor.html">WColor</a> &amp;fillColor=<a class="el" href="classWt_1_1WColor.html">WColor</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a circle to the map.  <a href="#a9e8be8d6d2edea9b3357ff00aeb0ffdc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a727702768884cdfa1c46c0160f51310a"></a><!-- doxytag: member="Wt::WGoogleMap::addIconMarker" ref="a727702768884cdfa1c46c0160f51310a" args="(const Coordinate &amp;pos, const std::string &amp;iconURL)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a727702768884cdfa1c46c0160f51310a">addIconMarker</a> (const <a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a> &amp;pos, const std::string &amp;iconURL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a icon marker overlay to the map. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a77204daba9840d892e3621b129e742d4"></a><!-- doxytag: member="Wt::WGoogleMap::clearOverlays" ref="a77204daba9840d892e3621b129e742d4" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a77204daba9840d892e3621b129e742d4">clearOverlays</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes all overlays from the map. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a90b58b02052aa788efcf0b9d92335112"></a><!-- doxytag: member="Wt::WGoogleMap::openInfoWindow" ref="a90b58b02052aa788efcf0b9d92335112" args="(const Coordinate &amp;pos, const Wt::WString &amp;myHtml)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a90b58b02052aa788efcf0b9d92335112">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">&#160;</td><td class="mdescRight">Opens a text bubble with html text at a specific location. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa9f62ed546a090cc9dbcf3d10769bc80"></a><!-- doxytag: member="Wt::WGoogleMap::setCenter" ref="aa9f62ed546a090cc9dbcf3d10769bc80" args="(const Coordinate &amp;center)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#aa9f62ed546a090cc9dbcf3d10769bc80">setCenter</a> (const <a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a> &amp;center)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the map view to the given center. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a34df0d680b54a956342d2e095229f9fe"></a><!-- doxytag: member="Wt::WGoogleMap::setCenter" ref="a34df0d680b54a956342d2e095229f9fe" args="(const Coordinate &amp;center, int zoom)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a34df0d680b54a956342d2e095229f9fe">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">&#160;</td><td class="mdescRight">Sets the map view to the given center and zoom level. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#ac1d54272ff541cc54b29ed4fee288931">panTo</a> (const <a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a> &amp;center)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes the center point of the map to the given point.  <a href="#ac1d54272ff541cc54b29ed4fee288931"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6b08ef4a408d75d10d71d005d3c65783"></a><!-- doxytag: member="Wt::WGoogleMap::zoomWindow" ref="a6b08ef4a408d75d10d71d005d3c65783" args="(const std::pair&lt; Coordinate, Coordinate &gt; &amp;bbox)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a6b08ef4a408d75d10d71d005d3c65783">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">&#160;</td><td class="mdescRight">Zooms the map to a region defined by a bounding box. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a66cf38a3c31b97c08321c5ac9bf71270"></a><!-- doxytag: member="Wt::WGoogleMap::zoomWindow" ref="a66cf38a3c31b97c08321c5ac9bf71270" args="(const Coordinate &amp;topLeft, const Coordinate &amp;bottomRight)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a66cf38a3c31b97c08321c5ac9bf71270">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">&#160;</td><td class="mdescRight">Zooms the map to a region defined by a bounding box. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9b4583c4557d756ba1cecab1ab00bf9b"></a><!-- doxytag: member="Wt::WGoogleMap::setZoom" ref="a9b4583c4557d756ba1cecab1ab00bf9b" args="(int level)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a9b4583c4557d756ba1cecab1ab00bf9b">setZoom</a> (int level)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the zoom level to the given new value. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afbd9cf2dc56673f4870aa91a71c3301c"></a><!-- doxytag: member="Wt::WGoogleMap::zoomIn" ref="afbd9cf2dc56673f4870aa91a71c3301c" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#afbd9cf2dc56673f4870aa91a71c3301c">zoomIn</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Increments zoom level by one. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a74363a089b5b1dcbbd644ab810c94464"></a><!-- doxytag: member="Wt::WGoogleMap::zoomOut" ref="a74363a089b5b1dcbbd644ab810c94464" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a74363a089b5b1dcbbd644ab810c94464">zoomOut</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Decrements zoom level by one. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#af6addd98268d64aa33834280b8819d65">savePosition</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Stores the current map position and zoom level.  <a href="#af6addd98268d64aa33834280b8819d65"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae6abfd1d0942d0559e511caa5f2f5c97"></a><!-- doxytag: member="Wt::WGoogleMap::returnToSavedPosition" ref="ae6abfd1d0942d0559e511caa5f2f5c97" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#ae6abfd1d0942d0559e511caa5f2f5c97">returnToSavedPosition</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Restores the map view that was saved by <a class="el" href="classWt_1_1WGoogleMap.html#af6addd98268d64aa33834280b8819d65" title="Stores the current map position and zoom level.">savePosition()</a>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a75c3d2a4e9c4acdf786750a10f7691a6">checkResize</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Notifies the map of a change of the size of its container.  <a href="#a75c3d2a4e9c4acdf786750a10f7691a6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a83be42bcd7f4be38e04fbaec72a95b8e"></a><!-- doxytag: member="Wt::WGoogleMap::enableDragging" ref="a83be42bcd7f4be38e04fbaec72a95b8e" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a83be42bcd7f4be38e04fbaec72a95b8e">enableDragging</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables the dragging of the map (enabled by default). <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9b8b0c3f121f498e4cf5256390880ae6"></a><!-- doxytag: member="Wt::WGoogleMap::disableDragging" ref="a9b8b0c3f121f498e4cf5256390880ae6" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a9b8b0c3f121f498e4cf5256390880ae6">disableDragging</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables the dragging of the map. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae4993bd2e7baf017183a4ff3b554c53b"></a><!-- doxytag: member="Wt::WGoogleMap::enableDoubleClickZoom" ref="ae4993bd2e7baf017183a4ff3b554c53b" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#ae4993bd2e7baf017183a4ff3b554c53b">enableDoubleClickZoom</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables double click to zoom in and out (enabled by default). <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5cfa10ca7087f3a7f032bdbdcc422e67"></a><!-- doxytag: member="Wt::WGoogleMap::disableDoubleClickZoom" ref="a5cfa10ca7087f3a7f032bdbdcc422e67" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a5cfa10ca7087f3a7f032bdbdcc422e67">disableDoubleClickZoom</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables double click to zoom in and out. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#aed48586350d3e4908459a47ce0822348">enableGoogleBar</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables the GoogleBar, an integrated search control, on the map.  <a href="#aed48586350d3e4908459a47ce0822348"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a3982558cba9768c4815e7fbb6c23d92f">disableGoogleBar</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables the GoogleBar integrated search control.  <a href="#a3982558cba9768c4815e7fbb6c23d92f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a39dc1da1fe51f1c285dac04e565fdfa5">enableScrollWheelZoom</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables zooming using a mouse's scroll wheel.  <a href="#a39dc1da1fe51f1c285dac04e565fdfa5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a90462279e5092088aba4e79c2f4eaab9">disableScrollWheelZoom</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables zooming using a mouse's scroll wheel.  <a href="#a90462279e5092088aba4e79c2f4eaab9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#ad5b1aabd260b3b05e9888718264c40e2">setMapTypeControl</a> (<a class="el" href="classWt_1_1WGoogleMap.html#a302ab44e934f301001c3acf79ddc0d0c">MapTypeControl</a> type)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the map type control.  <a href="#ad5b1aabd260b3b05e9888718264c40e2"></a><br/></td></tr>
<tr><td class="memItemLeft" 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;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a3b1b5e513502222e89d8fbcfb79a9198">clicked</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The click event.  <a href="#a3b1b5e513502222e89d8fbcfb79a9198"></a><br/></td></tr>
<tr><td class="memItemLeft" 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;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#aa81efcc86e7ab1b6a6701e97d9e3fb02">doubleClicked</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The double click event.  <a href="#aa81efcc86e7ab1b6a6701e97d9e3fb02"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7a34346d51b2030f44f4adb6eaadba07"></a><!-- doxytag: member="Wt::WGoogleMap::mouseMoved" ref="a7a34346d51b2030f44f4adb6eaadba07" 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;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a7a34346d51b2030f44f4adb6eaadba07">mouseMoved</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This event is fired when the user moves the mouse inside the map. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5d4d2073f3f427c7878e064ddd8a39c1"></a><!-- doxytag: member="Wt::WGoogleMap::apiVersion" ref="a5d4d2073f3f427c7878e064ddd8a39c1" args="()" -->
<a class="el" href="classWt_1_1WGoogleMap.html#aa1a009766a565dd32e5ba3ab2b91f060">ApiVersion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a5d4d2073f3f427c7878e064ddd8a39c1">apiVersion</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the used Google Maps API version. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WGoogleMap.html#a34f1028b2e8f8fb3b6c56fcf6d878779">doGmJavaScript</a> (const std::string &amp;jscode)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Execute a piece of JavaScript that manipulates the map.  <a href="#a34f1028b2e8f8fb3b6c56fcf6d878779"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A widget that displays a google map. </p>
<p>This widget uses the online Google Maps server to display a map. It exposes a part of the google maps API.</p>
<p>This widget supports both version 2 and version 3 of the Google Maps API. The version 2 API is used by default, to enable the version 3 API, use the constructor's version argument.</p>
<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>
<p>Contributed by: Richard Ulrich. </p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="aa1a009766a565dd32e5ba3ab2b91f060"></a><!-- doxytag: member="Wt::WGoogleMap::ApiVersion" ref="aa1a009766a565dd32e5ba3ab2b91f060" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classWt_1_1WGoogleMap.html#aa1a009766a565dd32e5ba3ab2b91f060">Wt::WGoogleMap::ApiVersion</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>ApiVersion. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="aa1a009766a565dd32e5ba3ab2b91f060aa2297c54e44be5057ba5bb7c91f48e6d"></a><!-- doxytag: member="Version2" ref="aa1a009766a565dd32e5ba3ab2b91f060aa2297c54e44be5057ba5bb7c91f48e6d" args="" -->Version2</em>&nbsp;</td><td>
<p>API Version 2.x. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aa1a009766a565dd32e5ba3ab2b91f060a2bead89dc50860e3eb63077adfee2556"></a><!-- doxytag: member="Version3" ref="aa1a009766a565dd32e5ba3ab2b91f060a2bead89dc50860e3eb63077adfee2556" args="" -->Version3</em>&nbsp;</td><td>
<p>API Version 3.x. </p>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<a class="anchor" id="a302ab44e934f301001c3acf79ddc0d0c"></a><!-- doxytag: member="Wt::WGoogleMap::MapTypeControl" ref="a302ab44e934f301001c3acf79ddc0d0c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classWt_1_1WGoogleMap.html#a302ab44e934f301001c3acf79ddc0d0c">Wt::WGoogleMap::MapTypeControl</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>MapTypeControl. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a302ab44e934f301001c3acf79ddc0d0cab4888bbfce9abc7e1bf9fd52e9c4279f"></a><!-- doxytag: member="NoControl" ref="a302ab44e934f301001c3acf79ddc0d0cab4888bbfce9abc7e1bf9fd52e9c4279f" args="" -->NoControl</em>&nbsp;</td><td>
<p>Show no maptype control. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a302ab44e934f301001c3acf79ddc0d0cae4a7ffd51ec10ca611336505dad09837"></a><!-- doxytag: member="DefaultControl" ref="a302ab44e934f301001c3acf79ddc0d0cae4a7ffd51ec10ca611336505dad09837" args="" -->DefaultControl</em>&nbsp;</td><td>
<p>Show the default maptype control. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a302ab44e934f301001c3acf79ddc0d0cac428b71c3898abd67ca433a41bae7024"></a><!-- doxytag: member="MenuControl" ref="a302ab44e934f301001c3acf79ddc0d0cac428b71c3898abd67ca433a41bae7024" args="" -->MenuControl</em>&nbsp;</td><td>
<p>Show the dropdown menu maptype control. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a302ab44e934f301001c3acf79ddc0d0caa31736b7a72e1f243ba17cdd25989594"></a><!-- doxytag: member="HierarchicalControl" ref="a302ab44e934f301001c3acf79ddc0d0caa31736b7a72e1f243ba17cdd25989594" args="" -->HierarchicalControl</em>&nbsp;</td><td>
<p>Show the hierarchical maptype control. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a302ab44e934f301001c3acf79ddc0d0ca3cd10afecff1499041b458a76d79dbc0"></a><!-- doxytag: member="HorizontalBarControl" ref="a302ab44e934f301001c3acf79ddc0d0ca3cd10afecff1499041b458a76d79dbc0" args="" -->HorizontalBarControl</em>&nbsp;</td><td>
<p>Show the horizontal bar maptype control. </p>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a9e8be8d6d2edea9b3357ff00aeb0ffdc"></a><!-- doxytag: member="Wt::WGoogleMap::addCircle" ref="a9e8be8d6d2edea9b3357ff00aeb0ffdc" args="(const Coordinate &amp;center, double radius, const WColor &amp;strokeColor, int strokeWidth, const WColor &amp;fillColor=WColor())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WGoogleMap::addCircle </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WGoogleMap_1_1Coordinate.html">Coordinate</a> &amp;&#160;</td>
          <td class="paramname"><em>center</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>radius</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;&#160;</td>
          <td class="paramname"><em>strokeColor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>strokeWidth</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;&#160;</td>
          <td class="paramname"><em>fillColor</em> = <code><a class="el" href="classWt_1_1WColor.html">WColor</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a circle to the map. </p>
<p>The stroke and fill opacity can be configured respectively in the strokeColor and fillColor. This feature is only supported by the Google Maps API version 3. </p>

</div>
</div>
<a class="anchor" id="ac1ce20bca64f3fa033cc41b7d6825534"></a><!-- doxytag: member="Wt::WGoogleMap::addPolyline" ref="ac1ce20bca64f3fa033cc41b7d6825534" args="(const std::vector&lt; Coordinate &gt; &amp;points, const WColor &amp;color=WColor(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;&#160;</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;&#160;</td>
          <td class="paramname"><em>color</em> = <code><a class="el" href="classWt_1_1WColor.html">WColor</a>(red)</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em> = <code>2</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>opacity</em> = <code>1.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a polyline overlay to the map. </p>
<p>Specify a value between 0.0 and 1.0 for the opacity or set the alpha value in the color. </p>

</div>
</div>
<a class="anchor" id="a75c3d2a4e9c4acdf786750a10f7691a6"></a><!-- doxytag: member="Wt::WGoogleMap::checkResize" ref="a75c3d2a4e9c4acdf786750a10f7691a6" 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>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Notifies the map of a change of the size of its container. </p>
<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.</p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000041">Deprecated:</a></b></dt><dd>the map is resized automatically when necessary </dd></dl>

</div>
</div>
<a class="anchor" id="a3b1b5e513502222e89d8fbcfb79a9198"></a><!-- doxytag: member="Wt::WGoogleMap::clicked" ref="a3b1b5e513502222e89d8fbcfb79a9198" 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>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The click event. </p>
<p>This event is fired when the user clicks on the map with the mouse. </p>

</div>
</div>
<a class="anchor" id="a3982558cba9768c4815e7fbb6c23d92f"></a><!-- doxytag: member="Wt::WGoogleMap::disableGoogleBar" ref="a3982558cba9768c4815e7fbb6c23d92f" 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>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Disables the GoogleBar integrated search control. </p>
<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.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>This functionality is no longer available in the Google Maps API v3. </dd></dl>

</div>
</div>
<a class="anchor" id="a90462279e5092088aba4e79c2f4eaab9"></a><!-- doxytag: member="Wt::WGoogleMap::disableScrollWheelZoom" ref="a90462279e5092088aba4e79c2f4eaab9" 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>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Disables zooming using a mouse's scroll wheel. </p>
<p>Scroll wheel zoom is disabled by default. </p>

</div>
</div>
<a class="anchor" id="a34f1028b2e8f8fb3b6c56fcf6d878779"></a><!-- doxytag: member="Wt::WGoogleMap::doGmJavaScript" ref="a34f1028b2e8f8fb3b6c56fcf6d878779" args="(const std::string &amp;jscode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::WGoogleMap::doGmJavaScript </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>jscode</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Execute a piece of JavaScript that manipulates the map. </p>
<p>This is like <a class="el" href="classWt_1_1WCompositeWidget.html#af43f26be9808bbc80b3b1794567d5613" title="Executes the given JavaScript statements when the widget is rendered or updated.">doJavaScript()</a> but delays the javascript until the map has been loaded. </p>

</div>
</div>
<a class="anchor" id="aa81efcc86e7ab1b6a6701e97d9e3fb02"></a><!-- doxytag: member="Wt::WGoogleMap::doubleClicked" ref="aa81efcc86e7ab1b6a6701e97d9e3fb02" 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>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The double click event. </p>
<p>This event is fired when a double click is done on the map. </p>

</div>
</div>
<a class="anchor" id="aed48586350d3e4908459a47ce0822348"></a><!-- doxytag: member="Wt::WGoogleMap::enableGoogleBar" ref="aed48586350d3e4908459a47ce0822348" 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>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enables the GoogleBar, an integrated search control, on the map. </p>
<p>When enabled, this control takes the place of the default Powered By Google logo.</p>
<p>This control is initially disabled.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>This functionality is no longer available in the Google Maps API v3. </dd></dl>

</div>
</div>
<a class="anchor" id="a39dc1da1fe51f1c285dac04e565fdfa5"></a><!-- doxytag: member="Wt::WGoogleMap::enableScrollWheelZoom" ref="a39dc1da1fe51f1c285dac04e565fdfa5" 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>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enables zooming using a mouse's scroll wheel. </p>
<p>Scroll wheel zoom is disabled by default. </p>

</div>
</div>
<a class="anchor" id="ac1d54272ff541cc54b29ed4fee288931"></a><!-- doxytag: member="Wt::WGoogleMap::panTo" ref="ac1d54272ff541cc54b29ed4fee288931" 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;&#160;</td>
          <td class="paramname"><em>center</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Changes the center point of the map to the given point. </p>
<p>If the point is already visible in the current map view, change the center in a smooth animation. </p>

</div>
</div>
<a class="anchor" id="af6addd98268d64aa33834280b8819d65"></a><!-- doxytag: member="Wt::WGoogleMap::savePosition" ref="af6addd98268d64aa33834280b8819d65" 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>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Stores the current map position and zoom level. </p>
<p>You can later restore this position using <a class="el" href="classWt_1_1WGoogleMap.html#ae6abfd1d0942d0559e511caa5f2f5c97" title="Restores the map view that was saved by savePosition().">returnToSavedPosition()</a>. </p>

</div>
</div>
<a class="anchor" id="ad5b1aabd260b3b05e9888718264c40e2"></a><!-- doxytag: member="Wt::WGoogleMap::setMapTypeControl" ref="ad5b1aabd260b3b05e9888718264c40e2" 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#a302ab44e934f301001c3acf79ddc0d0c">MapTypeControl</a>&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the map type control. </p>
<p>The control allows selecting and switching between supported map types via buttons. </p>

</div>
</div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr size="1"><address style="text-align: right; margin: 3px"><small>
Generated on Thu Nov 1 2012 for <a href="http://www.webtoolkit.eu/wt">the
C++ Web Toolkit (Wt)</a> by&nbsp;<a
href="http://www.doxygen.org/index.html"><img src="doxygen.png"
alt="doxygen" border="0" style="vertical-align: middle; display:
inline-block; height: 2em"></a> 1.7.5.1</small></address>
</body>
</html>