PH GMap

Probe House Software
by WongCK
© Copyright 2012

Version 1.7

What is this?

PH GMap brings Google Maps to the Atari. You will be able to zoom in and out of the map from building all the way out to the continent. You will also be able to move around the map. Road maps and Satellite view along with hybrid view where road maps are superimposed on the satellite view are all available. With Street View, you will be able to have a virtual drive in your Atari. With routing, you can plan the route to take your Atari on.

PH GMap is freeware.


Requirements

  1. This runs on MINT with MintNET and requires an internet connection. Development was done on Mint 1,18, while lower MINT versions are not fully verified/tested on.
  2. You also need to have zView's JPG codec, by Zoro, installed. All codecs are available from zView package (latest release 8).
  3. The zView codec package requries a VDI with EdDI support. This is available in NVDI, NovaVDI, fVDI etc.
A colour display will be nice, but you can run it on lower colour system like 16 - may be the road maps looks OK but the satellite view... well you decide. As I have not tried running at low colour, I have no idea how it looks like. Recommend that you use at least 256 colours to see something useful.

Installation

  1. Make sure you have Mint and MintNet is running well, otherwise install and configure Mint & MintNet.
  2. Extract and copy all the files into a folder of your choice. For example c:\phgmap.
  3. For FireBee, replace the program with the one inside the FireBee folder
  4. Copy all zView codecs into C:\GEMSYS\LDG\CODECS folder. Create that folder if you do not already have it.
  5. Double click phgmap.prg to run it !!


The Main Window - aka Map Window

  • The main window displays the map
  • The info line display final address of the location
  • The info line will display the status of the map download and map conversion
  • The ZOOM number is displayed on the upper left corner of the map.
  • The Window can be resized, the map will cover the whole window until a maximum size of 1280 x 1280.
  • The window size cannot be bigger than 1280 x 1280. If it is, the window will bounce back to the maximum of 1280 x 1280.
Note: sometimes the main window will display a blank image (grey or black). This normally happens when the map quota has reached.


Configuration Menu

Right click on the map window for a popup Configuration menu.
  • Select Enter address to get into the Address Window (see next section)
  • Select Reload map to refresh the map. You may also press ESC to reload a map.
  • Select Favourites to open the Point of Interest Window. You can store up to 50 points of interest locations.
  • Select Markers to open the Point of Interest Window - Markers view.
  • Select Route path to open the Route Window. You can make routing using the markers or via a GPX file.
  • Select Road Map to display the map as a normal road map
  • Select Satellite to display the map as a satellite view of the map
  • Select Hybrid to display the map with a superimposed road map on the satellite view
  • Select Quit App to exit the application
  • The About displays.... well, the about of the app
On each startup, you will be reminded to right click to enter an address.


Address Window

  • Enter the location (city name/landmark/street address) of which the location you want to view.
    1. The spelling of the location need not be accurate, but it helps if it is.
    2. You may need to provide more location information, such as country, to identify a location.
    3. The location displayed is an approximate location of the street address.
    4. The map zoom will default to 14 to avoid confusion when the new map is displayed.


Movement and Zoom

Using the keypad to move

Movement and zooming controlled on the number keypad are as follows.
  1. To zoom in, use the + key on the numeric keypad.
  2. To zoom out, use the - key on the numeric keypad.
  3. To call the Address Window from the keyboard, press the * key on the numeric keypad.
  4. To call the Point of Interest Window from the keyboard, press the \ key on the numeric keypad.
North-west
7
North
8
North-east
9
West
4
Starting point
5
East
6
South-west
1
South
2
South-east
3

Using the mouse to move

Using the Scroll bar to move

  • Movement controlled on the mouse as follows.
    1. Click on the arrows buttons to move about 25% of the map in the direction of the arrow. This is the same as using the keypad.
    2. Click on the darkened area of the scroll bar to move about 80% of the map. This is equivalent to a page. There is no keypad equivalent.
    3. The scroll bar itself cannot be move and does nothing when you click or drag it.
    4. You can resize the window using the resize button. After resizing, make a move to force it to redraw to use the new window size.
    5. Users with mouse wheel, try it and see if anything happens.


Markers

PH Gmap allows up to 9 labeled blue coloured markers to be placed on the map.

Point of Interest Window - Favourites and Markers

Up to 50 points of interest can be stored for easy retrival via the Point of Interest Window. With 9 possible markers, this gives a total of 59 storable locations.
  • To store a location as a point of interest, press ALT and left click on the location in the Map Window.
  • The location will be stored under the Favourites section.
  • To jump to your favourite location, highlight the location and press GO, or just double click on the name in the list.
  • On the map, the location will be marked with a RED flag with a "F" on it
  • To remove the location from the list, highlight it and press REMOVE on the Point of Interest window.
  • Switch between the Markers list and Favourites list by selection the relevent category
  • Accuracy of determining the point via mouse click is affected by the placement of the map within the window. Earth arc formulae also played a part in accuracy calculation. As such some places may be out by some factor.


Route Window - Routing with Markers

Markers are used to mark the start or origin location and the destination location. The route is marked out on the map via Google.
In the Route Window, the Origin Marker, Destination Marker and the Travel Mode is selected. Click on GO button to get the map.
The actual route is provided by Google and is displayed on the map.


Route Window - Routing with GPX file

A GPX file contains GPS information of a trip. The GPX file contains a sequence of location travelled. These locations can be traced out on a map. A GPX file may contain 2 types of tracking information - route points and track points. Either can be used, and if they are not present, no trace will be drawn.
In the Route Window, select the GPX file as the input type.
Click on File button to pick the GPX file of display. On leaving the file selector, the map will be retrieved and the track lines will be drawn.

Street Views

Street Views is a technology from Google that provides panoramic views from positions along many streets in the world.
To view the scene of a particular road, DOUBLE CLICK on the road in the Map Window. The Street View Window will open and show the panoramic views of the street.
A RED DOT on the Map Window shows the location of the panoramic views on the map. A yellow pointer points to the direction where it is looking at.

Summary of commands

WhatHow to...( on Map Window)
Center map to a pointLeft click on any point on the map.
Moving a point on the mapLeft click, hold and drag that point to a new location.
Find out the address of a point CTRL-left click on the map. Address display on Window info line.
Dropping a marker SHIFT-left click on point to drop the marker.
Jump to a marker Press corresponding function key number e.g. F4 jumps to marker 4.
Delete a marker Press SHIFT & corresponding function key number e.g. SHIFT-F4 will delete marker 4.
Review markers Press "M" to cycle through where the markers are. Addresses are display on Window info line.
Making FavouritesALT-left click on point to save that location into the Point of Interest list.
Call out configuration menu Right click anywhere on the map
Call out address entry dialog Select from configuration menu or press * or C on the keyboard
Call out Point of Interest windowSelect from configuration menu or press \ or F on the keyboard
Call out Route windowSelect from configuration menu or press R on the keyboard
Move around map Use the scroll bars or the numeric keypad as directions
Zoom in/out Press + to zoom in. Press - to zoom out. There may be another way to do this.
Reload a map Select from configuration menu or press ESC to reload a map
Home to original point To go back to the original location as in the address entry dialog, press 5.
Change map type Change the map type from road map to satellite via the configuration menu.
WhatHow to...( on Street View Window)
Street ViewsDouble click on the location on the Main Map Window.
Street Views - moveClick on the Street Views Window the direction you want to move in.
Street Views - turnDrag the view to the left or right in the Window.
Street Views - pitchDrag the view up or down to look up or down in the Window.
Street Views - ZoomUse the mouse wheel to zoom in and out of the view.
WhatGlobal keyboard shortcuts
CTRL-QClose all windows and quit PH Gmap.
CTRL-UClose the top windows. If you close the map window, it will also quit PH Gmap.
CTRL-WCycle through the windows.


Error 403 and 503... Quota Exceeded errors

These are error condition that means the Google maps download quota have been reach. Even when you have not downloaded that many maps, it may be a combined quota with other users that are using your ISP. There are some people who speculate that this is a bug in Google's calculation, we cannot be sure. In any case, if you see this error in the infoline, you just have to stop using the map app for several hours ( between 2-6 hours) before Google resets the count. There's also some talk on the forums that Google limits 250 maps download every 6 hours.

Note that there's also quota limitation on StreetViews. The quota reaches quickly on streetviews as it downloads more. Normally you do not notice it while moving around.

Config and working files

The config file is called phgmap.cfg located at the same folder of the app. It is created by the app itself on exit. Information of the map settings are stored along with address information. There is no impact if you decide to delete this file. However, your saved markers and favourites will be lost.

The actual graphic file of the map is in gmap.png. It's normal PNG file. There is no impact if you decide to delete this file.


Limitations




Version updates



Future developements

none.


Questions, comments, or error reports? Please leave a post at Atari-Forum.com
Visit my web site at https://sites.google.com/site/probehouse/