07.09.2020, 08:10
(07.09.2020, 08:00)pstein Wrote: Geht das irgendwie?
Ich wüsste nicht, wie. Du siehst genau die Zoomstufen, die die Mapsforge Bibliothek erlaubt. Siehe IMapViewPosition
Quote: /**
* Animates the center position of the map by the given amount of pixels.
* <p>
* This method is used by the TouchGestureHandler to perform a zoom on double-tap action.
*
* @param moveHorizontal the amount of pixels to move this MapViewPosition horizontally.
* @param moveVertical the amount of pixels to move this MapViewPosition vertically.
* @param zoomLevelDiff the difference in desired zoom level.
*/
void moveCenterAndZoom(double moveHorizontal, double moveVertical, byte zoomLevelDiff);
--
Christian
Christian
