| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (9) on Thu Mar 22 23:56:53 CET 2018 --> |
| <title>GeoMapHelper</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| <meta name="date" content="2018-03-22"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../../jquery/jquery-1.10.2.js"></script> |
| <script type="text/javascript" src="../../../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="GeoMapHelper"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../../../";loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/GeoMapHelper.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-files/index-1.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/DefaultMouseHandler.html" title="class in org.eclipse.nebula.widgets.geomap.internal"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelperListener.html" title="interface in org.eclipse.nebula.widgets.geomap.internal"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/eclipse/nebula/widgets/geomap/internal/GeoMapHelper.html" target="_top">Frames</a></li> |
| <li><a href="GeoMapHelper.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><span>SEARCH: </span> |
| <input type="text" id="search" value=" " disabled="disabled"> |
| <input type="reset" id="reset" value=" " disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/package-summary.html">org.eclipse.nebula.widgets.geomap.internal</a></div> |
| <h2 title="Class GeoMapHelper" class="title">Class GeoMapHelper</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.nebula.widgets.geomap.internal.GeoMapHelper</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelperListener.html" title="interface in org.eclipse.nebula.widgets.geomap.internal">GeoMapHelperListener</a></code>, <code><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapPositioned.html" title="interface in org.eclipse.nebula.widgets.geomap.internal">GeoMapPositioned</a></code></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">GeoMapHelper</span> |
| extends java.lang.Object |
| implements <a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapPositioned.html" title="interface in org.eclipse.nebula.widgets.geomap.internal">GeoMapPositioned</a>, <a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelperListener.html" title="interface in org.eclipse.nebula.widgets.geomap.internal">GeoMapHelperListener</a></pre> |
| <div class="block"><p> |
| License is EPL (Eclipse Public License) |
| http://www.eclipse.org/legal/epl-v10.html. Contact at stepan.rutz@gmx.de |
| </p></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Version:</span></dt> |
| <dd>$Revision$</dd> |
| <dt><span class="simpleTagLabel">Author:</span></dt> |
| <dd>stepan.rutz, hal</dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelper.html#GeoMapHelper-org.eclipse.swt.widgets.Display-org.eclipse.swt.graphics.Point-int-int-">GeoMapHelper</a></span>​(org.eclipse.swt.widgets.Display display, |
| org.eclipse.swt.graphics.Point mapPosition, |
| int zoom, |
| int cacheSize)</code></th> |
| <td class="colLast"> |
| <div class="block">Initializes a new <code>GeoMapHelper</code> for a specific display, |
| position, zoom level and cache size.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelper.html#addGeoMapHelperListener-org.eclipse.nebula.widgets.geomap.internal.GeoMapHelperListener-">addGeoMapHelperListener</a></span>​(<a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelperListener.html" title="interface in org.eclipse.nebula.widgets.geomap.internal">GeoMapHelperListener</a> listener)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds a GeoMapHelperListener that will be notified about tile updates</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelper.html#addInternalGeoMapListener-org.eclipse.nebula.widgets.geomap.internal.InternalGeoMapListener-">addInternalGeoMapListener</a></span>​(<a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/InternalGeoMapListener.html" title="interface in org.eclipse.nebula.widgets.geomap.internal">InternalGeoMapListener</a> listener)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds an InternalGeoMapListener that will be notified about painting and |
| cache updates</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelper.html#dispose--">dispose</a></span>​()</code></th> |
| <td class="colLast"> |
| <div class="block">Dispose internal data</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>org.eclipse.swt.graphics.Point</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelper.html#getMapPosition--">getMapPosition</a></span>​()</code></th> |
| <td class="colLast"> |
| <div class="block">Gets the position of the upper left corner of the map.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelper.html#getMaxZoom--">getMaxZoom</a></span>​()</code></th> |
| <td class="colLast"> |
| <div class="block">Gets the maximum supported zoom level</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/eclipse/nebula/widgets/geomap/TileServer.html" title="class in org.eclipse.nebula.widgets.geomap">TileServer</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelper.html#getTileServer--">getTileServer</a></span>​()</code></th> |
| <td class="colLast"> |
| <div class="block">Gets the tile server used for fetching tiles</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelper.html#getZoom--">getZoom</a></span>​()</code></th> |
| <td class="colLast"> |
| <div class="block">Gets the current zoom level</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelper.html#paint-org.eclipse.swt.graphics.GC-org.eclipse.swt.graphics.Rectangle-org.eclipse.swt.graphics.Point-">paint</a></span>​(org.eclipse.swt.graphics.GC gc, |
| org.eclipse.swt.graphics.Rectangle clip, |
| org.eclipse.swt.graphics.Point size)</code></th> |
| <td class="colLast"> |
| <div class="block">Points the map to the provided graphics context (GC), which could be the |
| one provided in an SWT control paint request or one created for rendering |
| an SWT Image</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelper.html#removeGeoMapHelperListener-org.eclipse.nebula.widgets.geomap.internal.GeoMapHelperListener-">removeGeoMapHelperListener</a></span>​(<a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelperListener.html" title="interface in org.eclipse.nebula.widgets.geomap.internal">GeoMapHelperListener</a> listener)</code></th> |
| <td class="colLast"> |
| <div class="block">Removes a GeoMapHelperListener</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelper.html#removeInternalGeoMapListener-org.eclipse.nebula.widgets.geomap.internal.InternalGeoMapListener-">removeInternalGeoMapListener</a></span>​(<a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/InternalGeoMapListener.html" title="interface in org.eclipse.nebula.widgets.geomap.internal">InternalGeoMapListener</a> listener)</code></th> |
| <td class="colLast"> |
| <div class="block">Removes an InternalGeoMapListener</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelper.html#setMapPosition-int-int-">setMapPosition</a></span>​(int x, |
| int y)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the position of the upper left corner of the map.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelper.html#setTileServer-org.eclipse.nebula.widgets.geomap.TileServer-">setTileServer</a></span>​(<a href="../../../../../../org/eclipse/nebula/widgets/geomap/TileServer.html" title="class in org.eclipse.nebula.widgets.geomap">TileServer</a> tileServer)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the tile server used for fetching tiles</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelper.html#setZoom-int-">setZoom</a></span>​(int zoom)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the current zoom level</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelper.html#tileUpdated-org.eclipse.nebula.widgets.geomap.internal.TileRef-">tileUpdated</a></span>​(<a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/TileRef.html" title="class in org.eclipse.nebula.widgets.geomap.internal">TileRef</a> tileRef)</code></th> |
| <td class="colLast"> |
| <div class="block">Notifies listener that a tile has been updated and may need (re)painting</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="GeoMapHelper-org.eclipse.swt.widgets.Display-org.eclipse.swt.graphics.Point-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>GeoMapHelper</h4> |
| <pre>public GeoMapHelper​(org.eclipse.swt.widgets.Display display, |
| org.eclipse.swt.graphics.Point mapPosition, |
| int zoom, |
| int cacheSize)</pre> |
| <div class="block">Initializes a new <code>GeoMapHelper</code> for a specific display, |
| position, zoom level and cache size.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>display</code> - the <code>Display</code> to create images for.</dd> |
| <dd><code>mapPosition</code> - initial mapPosition.</dd> |
| <dd><code>zoom</code> - initial map zoom</dd> |
| <dd><code>cacheSize</code> - initial cache size, eg number of tile-images that are kept in |
| cache to prevent reloading from the network.</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="paint-org.eclipse.swt.graphics.GC-org.eclipse.swt.graphics.Rectangle-org.eclipse.swt.graphics.Point-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>paint</h4> |
| <pre>public void paint​(org.eclipse.swt.graphics.GC gc, |
| org.eclipse.swt.graphics.Rectangle clip, |
| org.eclipse.swt.graphics.Point size)</pre> |
| <div class="block">Points the map to the provided graphics context (GC), which could be the |
| one provided in an SWT control paint request or one created for rendering |
| an SWT Image</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>gc</code> - the graphics context</dd> |
| <dd><code>clip</code> - the area that needs updating, could be null</dd> |
| <dd><code>size</code> - the size of the map area</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="dispose--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dispose</h4> |
| <pre>public void dispose​()</pre> |
| <div class="block">Dispose internal data</div> |
| </li> |
| </ul> |
| <a name="getTileServer--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTileServer</h4> |
| <pre>public <a href="../../../../../../org/eclipse/nebula/widgets/geomap/TileServer.html" title="class in org.eclipse.nebula.widgets.geomap">TileServer</a> getTileServer​()</pre> |
| <div class="block">Gets the tile server used for fetching tiles</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the tile server</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setTileServer-org.eclipse.nebula.widgets.geomap.TileServer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTileServer</h4> |
| <pre>public void setTileServer​(<a href="../../../../../../org/eclipse/nebula/widgets/geomap/TileServer.html" title="class in org.eclipse.nebula.widgets.geomap">TileServer</a> tileServer)</pre> |
| <div class="block">Sets the tile server used for fetching tiles</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>tileServer</code> - the new tile server to use</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMapPosition--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMapPosition</h4> |
| <pre>public org.eclipse.swt.graphics.Point getMapPosition​()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapPositioned.html#getMapPosition--">GeoMapPositioned</a></code></span></div> |
| <div class="block">Gets the position of the upper left corner of the map. The resolution |
| depends on the zoom level.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapPositioned.html#getMapPosition--">getMapPosition</a></code> in interface <code><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapPositioned.html" title="interface in org.eclipse.nebula.widgets.geomap.internal">GeoMapPositioned</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the position of the upper left corner of the map</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setMapPosition-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setMapPosition</h4> |
| <pre>public void setMapPosition​(int x, |
| int y)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapPositioned.html#setMapPosition-int-int-">GeoMapPositioned</a></code></span></div> |
| <div class="block">Sets the position of the upper left corner of the map. The resolution |
| depends on the zoom level.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapPositioned.html#setMapPosition-int-int-">setMapPosition</a></code> in interface <code><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapPositioned.html" title="interface in org.eclipse.nebula.widgets.geomap.internal">GeoMapPositioned</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</code> - the x coordinate</dd> |
| <dd><code>y</code> - the y coordinate</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMaxZoom--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMaxZoom</h4> |
| <pre>public int getMaxZoom​()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapPositioned.html#getMaxZoom--">GeoMapPositioned</a></code></span></div> |
| <div class="block">Gets the maximum supported zoom level</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapPositioned.html#getMaxZoom--">getMaxZoom</a></code> in interface <code><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapPositioned.html" title="interface in org.eclipse.nebula.widgets.geomap.internal">GeoMapPositioned</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the maximum zoom level</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getZoom--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getZoom</h4> |
| <pre>public int getZoom​()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapPositioned.html#getZoom--">GeoMapPositioned</a></code></span></div> |
| <div class="block">Gets the current zoom level</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapPositioned.html#getZoom--">getZoom</a></code> in interface <code><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapPositioned.html" title="interface in org.eclipse.nebula.widgets.geomap.internal">GeoMapPositioned</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the current zoom level</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setZoom-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setZoom</h4> |
| <pre>public void setZoom​(int zoom)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapPositioned.html#setZoom-int-">GeoMapPositioned</a></code></span></div> |
| <div class="block">Sets the current zoom level</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapPositioned.html#setZoom-int-">setZoom</a></code> in interface <code><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapPositioned.html" title="interface in org.eclipse.nebula.widgets.geomap.internal">GeoMapPositioned</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>zoom</code> - the new zoom level</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="tileUpdated-org.eclipse.nebula.widgets.geomap.internal.TileRef-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>tileUpdated</h4> |
| <pre>public void tileUpdated​(<a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/TileRef.html" title="class in org.eclipse.nebula.widgets.geomap.internal">TileRef</a> tileRef)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelperListener.html#tileUpdated-org.eclipse.nebula.widgets.geomap.internal.TileRef-">GeoMapHelperListener</a></code></span></div> |
| <div class="block">Notifies listener that a tile has been updated and may need (re)painting</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelperListener.html#tileUpdated-org.eclipse.nebula.widgets.geomap.internal.TileRef-">tileUpdated</a></code> in interface <code><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelperListener.html" title="interface in org.eclipse.nebula.widgets.geomap.internal">GeoMapHelperListener</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>tileRef</code> - the reference to the updated tile</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addGeoMapHelperListener-org.eclipse.nebula.widgets.geomap.internal.GeoMapHelperListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addGeoMapHelperListener</h4> |
| <pre>public void addGeoMapHelperListener​(<a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelperListener.html" title="interface in org.eclipse.nebula.widgets.geomap.internal">GeoMapHelperListener</a> listener)</pre> |
| <div class="block">Adds a GeoMapHelperListener that will be notified about tile updates</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>listener</code> - the GeoMapHelperListener</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeGeoMapHelperListener-org.eclipse.nebula.widgets.geomap.internal.GeoMapHelperListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeGeoMapHelperListener</h4> |
| <pre>public void removeGeoMapHelperListener​(<a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelperListener.html" title="interface in org.eclipse.nebula.widgets.geomap.internal">GeoMapHelperListener</a> listener)</pre> |
| <div class="block">Removes a GeoMapHelperListener</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>listener</code> - the GeoMapHelperListener</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addInternalGeoMapListener-org.eclipse.nebula.widgets.geomap.internal.InternalGeoMapListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addInternalGeoMapListener</h4> |
| <pre>public void addInternalGeoMapListener​(<a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/InternalGeoMapListener.html" title="interface in org.eclipse.nebula.widgets.geomap.internal">InternalGeoMapListener</a> listener)</pre> |
| <div class="block">Adds an InternalGeoMapListener that will be notified about painting and |
| cache updates</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>listener</code> - the InternalGeoMapListener</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeInternalGeoMapListener-org.eclipse.nebula.widgets.geomap.internal.InternalGeoMapListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>removeInternalGeoMapListener</h4> |
| <pre>public void removeInternalGeoMapListener​(<a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/InternalGeoMapListener.html" title="interface in org.eclipse.nebula.widgets.geomap.internal">InternalGeoMapListener</a> listener)</pre> |
| <div class="block">Removes an InternalGeoMapListener</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>listener</code> - the InternalGeoMapListener</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/GeoMapHelper.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-files/index-1.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/DefaultMouseHandler.html" title="class in org.eclipse.nebula.widgets.geomap.internal"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../../org/eclipse/nebula/widgets/geomap/internal/GeoMapHelperListener.html" title="interface in org.eclipse.nebula.widgets.geomap.internal"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/eclipse/nebula/widgets/geomap/internal/GeoMapHelper.html" target="_top">Frames</a></li> |
| <li><a href="GeoMapHelper.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </body> |
| </html> |