... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wie kleinere Zoomstufen für Karte?
#1
Ich lade einen *.gpx Track und lasse ihn auf der Karte anzeigen.

Dann drehe ich das Mausrad nach oben um (einen bestimmten Ausschnitt zu vergössern).

Der Sprung in der Zoomstufe ist aber riesig.

Ich hätte gerne niedrigere Zoom(zwischen)stufen.

Geht das irgendwie?

Peter
Reply
#2
(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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)