Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Share Your Creations
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Share Your Creations Show your developed application to Basic4ppc community. Please include source code if possible.


GoogleMaps on PPC


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-17-2008, 02:56 PM
Newbie
 
Join Date: Dec 2007
Posts: 5
Default GoogleMaps on PPC

Hi !
This small program shows satellite images previously downloaded from GoogleMaps in format of GoogleV program. In .txt file it keeps the path to directory with images (example included) and so can restore previous view on next start.
Controls are common - right, left, up, down. Central button is a level up. Stilus touch of the screen - level down.
There are alternative controls available by small button in the right down corner - it's for using stilus only.
I hope it'll be a usefull program for travellers
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 03:41 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 507
Awards Showcase
Competition Winner 
Total Awards: 1
Default

Hello nomick,
it seems we have same ideas or same needs, you will find my approach under

Display maps

I use only desktop screenshots of the maps, I have a program with 1:25000 scale maps of the area I live in and wanted to be able to use short parts of those on the PPC.

Just a question, what does the GoogleV format look like and how do you download these maps ?

Best regards
Klaus
Switzerland
Reply With Quote
  #3 (permalink)  
Old 01-21-2008, 01:00 PM
alfcen's Avatar
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu
Posts: 424
Default

Hi Klaus and Nomick,

Here is a kick-start for a faster and smoother map display.
The only drawback is that once a game object is added to
a form, form mouse events won't be fired. Also, AddEvent
does not support ImageButtons (would shorten the code).

Anyway, please inform me of your improvements

Cheers

Robert
Attached Files
File Type: zip map-rb.zip (348.7 KB, 63 views)
Reply With Quote
  #4 (permalink)  
Old 01-23-2008, 08:28 AM
Newbie
 
Join Date: Dec 2007
Posts: 5
Default

Hi, Klaus !
GoogleV is a program written for show (and save in it's cash) satellite images from GoogleMaps.
There is a similar program GoogleMV that do the same and stores downloaded images "as is", for example trtqrsr-image is contained in directory 07 (it's the length of trtqrsr) with the name trtqrsr.jpg
So it makes about 24 directories, and the more level - the more images stored in directory.
That way makes some problems - on PDA I cann't keep tens of thousands of images in 1 directory because of card file system limitations.
The GoogleV uses another way - every level consists of 4 images (q.jpg, r.jpg, s.jpg, t.jpg) and 4 subdirectories q, r, s and t. So it makes a tree of about 23 levels (the first level t is absent, so trtqrsr keeps in r\t\q\r\s\r.jpg) That format is much more suitable for PDA, to my mind.
I put an example of GoogleV tree in zip-archive.
All theese programs can be downloaded with no problems.
The only 1 minus of GoogleV is that it doesn't supported now, while GoogleMV stil grows Anyway GoogleV has quite enough functionality for all needs.
And by the way, there are scripts to export from one format to another
Reply With Quote
  #5 (permalink)  
Old 01-23-2008, 10:01 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 507
Awards Showcase
Competition Winner 
Total Awards: 1
Default

Hello nomick,
Thank you very much for this information.
I will have a look at it.

Best regards
Klaus
Switzerland
Reply With Quote
  #6 (permalink)  
Old 01-23-2008, 10:26 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 507
Awards Showcase
Competition Winner 
Total Awards: 1
Default

Hello Robert,
I have looked at your map moving proposal, it's interesting. I have not implemented it in my program, I feel that for my use scrolling half the screen is OK.
You can find a new version at

Display maps

I have added some zoom functios.

Cheers
Klaus
Reply With Quote
  #7 (permalink)  
Old 01-24-2008, 06:56 AM
alfcen's Avatar
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu
Posts: 424
Default

Looks great, indeed, Klaus (as all your apps).
Japanese translation attached.
Cheers
Robert
Attached Files
File Type: txt MapsJ.txt (396 Bytes, 6 views)
Reply With Quote
  #8 (permalink)  
Old 01-24-2008, 08:24 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 507
Awards Showcase
Competition Winner 
Total Awards: 1
Default

Hello Robert

Thank's for your japanese translation.
Download updated.

Grüsse
Klaus
Reply With Quote
  #9 (permalink)  
Old 01-24-2008, 08:46 AM
alfcen's Avatar
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu
Posts: 424
Default

Hallo Klaus
You are most welcome. Looks good on a Japanese PC
Reply With Quote
  #10 (permalink)  
Old 01-24-2008, 09:35 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 507
Awards Showcase
Competition Winner 
Total Awards: 1
Default

Hi Robert
I am pleased to read that, because as you know, I can't test it.
Grüsse
Klaus
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 01:40 AM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0