How can move map content to up or down?

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

How can move map content to up or down?

Postby ramis55 » Wed Mar 19, 2008 4:01 pm

Hello,

I have a MapView. I want to move map content (not MapView) to left or right. Please tell me, which method dose this action? If I use MapView.scrollTo(x,y) then all MapView moves to x and y cordinates.

Many thanks,
Ramunas
ramis55
Freshman
Freshman
 
Posts: 5
Joined: Thu Mar 13, 2008 11:04 am

Top

Postby plusminus » Fri Mar 21, 2008 12:00 pm

:|

MapView.scrollTo(x,y) moves the content of the map :!:

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby ramis55 » Fri Mar 21, 2008 12:51 pm

Hi plusminus,

MapView.scrollTo(x,y) moves the not content of the map, but all map view. But now I found function that iMapController.centerMapTo(tPoint, false); moves map content to tPoint place.

Regardas,
Raminas
ramis55
Freshman
Freshman
 
Posts: 5
Joined: Thu Mar 13, 2008 11:04 am

Top

Return to General

Who is online

Users browsing this forum: No registered users and 3 guests