-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
lhoriman
committed
Jan 19, 2010
1 parent
45688e0
commit d4bbbce
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,11 @@ public final native void setPosition(LatLng value) /*-{ | |
this.setPosition(value); | ||
}-*/; | ||
|
||
/** */ | ||
public final native LatLng getPosition() /*-{ | ||
return this.getPosition(); | ||
}-*/; | ||
|
||
/** */ | ||
public final native void setTitle(String value) /*-{ | ||
this.setTitle(value); | ||
|
@@ -47,4 +52,10 @@ public final native void setClickable(boolean value) /*-{ | |
this.setClickable(value); | ||
}-*/; | ||
|
||
/** */ | ||
public final native void addListener(String event, Runnable handler) /*-{ | ||
$wnd.google.maps.event.addListener(this, event, function() { | ||
[email protected]::run()(); | ||
}); | ||
}-*/; | ||
} |