You Are Here:

Community: Developer Discussion Boards

#1 Old Scrolling google static map? - 2008-05-09, 09:08

Join Date: Feb 2008
Posts: 46
giapage
Offline
Registered User
Hello,
how is possible to scroll a google static map?
So far, i'm downloading a PNG image in the device, than i load it in the canvas but i cannot scroll it (i'd need to download another picture).
Bye
Giæ
Reply With Quote

#2 Old Re: Scrolling google static map? - 2008-05-11, 22:41

Join Date: Jan 2004
Posts: 369
Location: Helsinki
Send a message via Skype™ to miohtama
miohtama's Avatar
miohtama
Offline
Regular Contributor
Quote:
Originally Posted by giapage View Post
Hello,
how is possible to scroll a google static map?
So far, i'm downloading a PNG image in the device, than i load it in the canvas but i cannot scroll it (i'd need to download another picture).
Bye
Giæ
Scrollable as is is not possible, thus the term "static". You need to download another picture.


Mikko Ohtamaa
Twinapex Research
http://www.twinapex.com
Reply With Quote

#3 Old Re: Scrolling google static map? - 2008-05-12, 10:33

Join Date: Feb 2008
Posts: 46
giapage
Offline
Registered User
Yes,
i know that i have to download a new map.
Actually what i do not know is how to ge the coordinate of latitude and longitude of the center of the new static map that i have to download. Any idea?
Reply With Quote

#4 Old Re: Scrolling google static map? - 2008-05-12, 10:34

Join Date: Jan 2004
Posts: 369
Location: Helsinki
Send a message via Skype™ to miohtama
miohtama's Avatar
miohtama
Offline
Regular Contributor
Quote:
Originally Posted by giapage View Post
Yes,
i know that i have to download a new map.
Actually what i do not know is how to ge the coordinate of latitude and longitude of the center of the new static map that i have to download. Any idea?
Uou must known yourself which for coordinates you request the map. They are in the URL.


Mikko Ohtamaa
Twinapex Research
http://www.twinapex.com
Reply With Quote

#5 Old Re: Scrolling google static map? - 2008-05-14, 09:49

Join Date: Nov 2007
Posts: 2,029
Location: Rome, Italy
Send a message via MSN to jappit Send a message via Skype™ to jappit
jappit's Avatar
jappit
Offline
Forum Nokia Champion
Hi,

I've found this JS function that could help you:

http://www.polyarc.us/adjust.js
where:
Quote:
"x" is Latitude in fractional degrees
"y" is Longitude in fractional degrees
"deltaX" is positive / negative Latitude adjustment in PIXELS
"deltaY" is positive / negative Longitude adjustment in PIXELS
"z" is zoom level
Hope it helps
Pit


www.jappit.com - mobile and web blog
Reply With Quote

#6 Old Re: Scrolling google static map? - 2008-06-01, 16:58

Join Date: Feb 2008
Posts: 46
giapage
Offline
Registered User
thank you man!
I deleted the round function and now it's perfetly working!
Reply With Quote

#7 Old Re: Scrolling google static map? - 2008-07-11, 08:19

Join Date: Aug 2005
Posts: 86
mottaisami
Offline
Regular Contributor
Hi,

I am also doing the same thing to scroll static google map image. But i am not able to implement adjust function on that. Can you help me out.

what i have to do with static image, i need to change mutable or anything else i have to change for scroll the Google MAP.

Please kindly help if anybody known.

Thanks in advance
R. mottaisami
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Python for UIQ cassioli Python 141 2008-06-11 19:16
Google Map and python Chiara81000 Python 3 2008-02-12 06:18
GoogleIt deepika.mangla General Symbian C++ 4 2007-01-08 02:07
Efficiently implementing a scrolling map system in J2ME dwneonstar Mobile Java General 3 2003-05-21 18:57
some problems with label vivienzhung Mobile Java General 1 2002-10-21 10:52

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia