comparison src/econnect/wp3_3/client/widgets/map/StiMap.java @ 75:d69066d16e45 trimmed_data

load overlays from data-file
author Sebastian Kruse <skruse@mpiwg-berlin.mpg.de>
date Tue, 15 Jan 2013 16:32:25 +0100
parents eac73bf1ce6e
children
comparison
equal deleted inserted replaced
74:caca95f925cc 75:d69066d16e45
62 */ 62 */
63 public final native void setMap( int index ) /*-{ 63 public final native void setMap( int index ) /*-{
64 this.setMap(index); 64 this.setMap(index);
65 }-*/; 65 }-*/;
66 66
67 /**
68 * Getter for number of overlays
69 *
70 * @return the number of overlays
71 */
72 public final native int getOverlayCount() /*-{
73 return this.core.overlays.length;
74 }-*/;
75
76 /**
77 * Getter for the name of a specific base layer
78 *
79 * @return the name of a specific base layer
80 */
81 public final native String getOverlayName( int index ) /*-{
82 return this.core.overlays[index].label;
83 }-*/;
84
67 /** 85 /**
68 * Setter for the top base layer 86 * Setter for the top base layer
69 * 87 *
70 * @param index the index of the base layer to set 88 * @param index the index of the base layer to set
71 */ 89 */