×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Sep 2009
    Location
    INDIA
    Posts
    30

    Question Google Maps Scroll on button press

    Hello All,

    I have the code for retrieving the google map onto my mobile.

    But the image retrieved is a static one. I need a dynamic map, which is scrollable.

    How to do this. I saw one adjust() method for adjusting the latitude and longitude of center of the map, will it help.

    How to add actions using button press?(left navigation should scroll the map to left, right to right, up to up and down to down respectively)
    -
    Sandeep.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: Google Maps Scroll on button press

    Yes, you can scroll the map by moving the center of the map by adjust() method by adjusting the latitude and longitude of center of the map.

    On keypress left,right,up,donw... just change the lat/lomg by small value and call adjust() again.

    Pls ref to: http://wiki.forum.nokia.com/index.ph...API_in_Java_ME

    thanks,
    ~Amitabh

  3. #3
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: Google Maps Scroll on button press

    If you get out of the Image borders though, the adjust method won't get you a new map, you will need to do that on your own...

  4. #4
    Registered User
    Join Date
    Sep 2009
    Location
    INDIA
    Posts
    30

    Re: Google Maps Scroll on button press

    Thanks Amit & Tiger. I will try that.
    -
    Sandeep.

Similar Threads

  1. Nokia maps and Google maps
    By MTi in forum Symbian
    Replies: 10
    Last Post: 2011-12-08, 13:23
  2. Change Marker in Google Maps
    By Mobile Developer in forum Mobile Java General
    Replies: 9
    Last Post: 2011-12-08, 13:18
  3. Google maps
    By antonio5982 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2008-09-09, 10:00
  4. Replies: 1
    Last Post: 2003-02-21, 08:33
  5. nokia 7650 http button press hang (CODE ATTACHED)
    By gwhistance in forum Mobile Java General
    Replies: 0
    Last Post: 2002-08-30, 09:17

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×