fix: typo in api

fixes #25
This commit is contained in:
Hannes Janetzek 2014-01-27 15:21:26 +01:00
parent c49618a653
commit 666803250c
2 changed files with 5 additions and 3 deletions

@ -1 +1 @@
Subproject commit 3b8538de3c77017f26466bbbf8460b468e59ff21
Subproject commit b1097e466ff0bd9f116a0c32841e6751671da915

View File

@ -215,9 +215,11 @@ public abstract class Map {
}
/**
* Get current {@link MapPosition}.
* Get current {@link MapPosition}. Consider using
* getViewport.getMapPosition(pos) instead to reuse
* MapPosition instance.
*/
public MapPosition getMapPostion() {
public MapPosition getMapPosition() {
MapPosition pos = new MapPosition();
mViewport.getMapPosition(pos);
return pos;