PageRenderTime 17ms CodeModel.GetById 1ms RepoModel.GetById 0ms app.codeStats 0ms

Plain Text | 105 lines | 74 code | 31 blank | 0 comment | 0 complexity | 45b2cb550a9fd43fc2d07a3760e8cd82 MD5 | raw file
Possible License(s): GPL-3.0
  1. This is readme file for wmobilemaps.
  2. author: standa31415
  3. date: 2011/01/16
  4. MD5Sums:
  5. 97a1bb40c5ddb2855a0db9ba6431fdd3
  6. c6347abadb33a964beaa751ce377bb8a
  7. My intention is to distribute it under GPL.
  8. Few notices / known issues:
  9. Im using the tool while on trips/treks to mountains. As far as I can tell GPS is accurate.
  10. WMobileMaps:
  11. - device doesn't work with online access. All tiles displayed in the device must be downloaded/cached in tiles repository before repository is copied to the device.
  12. - supported repos types - SQLite3 and Files. Recommend SQLite3 because storage card is not filled with lot of small image files.
  13. Available options / features:
  14. - there are 6 buttons on the screen: zoom+ (num+), zoom- (num-), double size (o), lock GPS (G), show GPS state (P), waypoints (W)
  15. - double size - resizes map 2x. It shows whats on the screen but twice as big. I have device with so high PPI, that names in the map are almost not readable. 2x shows everything twice in size.
  16. - lock GPS - when GPS is on and device knows it's position the button is (usually) light blue. After selecting it turns blue and the current GPS position is centered on the map on device. Whenever map is panned it is centered by itself on next GPS update.
  17. - show GPS state - GPS status is displayed. Whether GPS is on/off, lat, lon and number of satellites found
  18. - waypoints - shows dialog window WayPoints. See section "Dialog Window WayPoints" below.
  19. Moving around - touch interface
  20. - use dragging to move around
  21. - press (click) on map somewhere on the display. The place will be moved to the center of the map
  22. Menu 'Options'
  23. - Switch GPS On / Off
  24. - Select Map - selects another map repository (repositories are in '<storage card>\wmgooglemaps\maps\'). Name of the directory with map repository is considered 'map name'.
  25. - Show / Hide GPS coords - shows GPS coords for the middle of the screen
  26. - Save GPS coord - see section "Dialog Window Save GPS Coord" below.
  27. - Landscape / Portrait - switches screen orientation
  28. - layer 1, layer 2,... - each layer in tiles repository has its own item here. Selecting it, layer is displayed. The names of layers are not displayed correctly. For examlpe it show Google map for layer that is Yahoo map.
  29. Dialog Window "WayPoints"
  30. In fact the window provides 2 functionalities.
  31. - show stored waypoints on the map
  32. - go to selected waypoint
  33. - show stored waypoints on the map
  34. There are 3 radio buttons at the top of the window followed by button "OK". There are zero or more checkboxes below.
  35. By selecting one of radio buttons at the top of the window user chooses whether any stored waypoints should be displayed in the map.
  36. . None means none :)
  37. . All means all :)
  38. . Selected - if the option is selected only selected categories of waypoints will be displayed on the map.
  39. Each category of waypoints has one check box displayed below radio buttons. Check categories which may be displayed.
  40. - go to selected waypoint
  41. At the bottom of the window there are two widgets - combo box populated with stored waypoints and button Go.
  42. To center map on the stored waypoint select waypoint from the list and press Go.
  43. Dialog Window "Save GPS Coord"
  44. Window shows up when user selects "Save GPS Coord" from menu "Options".
  45. It provides a way to adjust details of the waypoint to be stored.
  46. . Coordinates are populated by coordinates of the center of the map
  47. . Time is set to current timestamp
  48. . Tp means - waypoint type. It sets user specified category of the waypoint. (See "- show stored waypoints on the map"). Currently it can be set to single character (letter or number).
  49. . Name - name of the waypoint displayed on the map. If not set current time is used instead.
  50. . Note - stores some more information connected to the waypoint. This information is not displayed anywhere in the application. Only way how to see it is by viewing waypoints file in some text editing tool.
  51. . Color - color used while waypoint is displayed in the map.
  52. Supported systems:
  53. - Windows Mobile 6.5
  54. - Windows Mobile 6.0 (maybe)
  55. I have HTC with Windows Mobile 6.5. Don't have opportunity to test on any other device.
  56. Installation:
  57. - unzip '' and copy 'wmobilemaps' to the storage card.
  58. - if you don't like the name, rename the directory
  59. - start 'wmobilemaps.exe'
  60. - device asks if you really want to run this file
  61. - map 'world' is part of the distribution. It has tiles of the world in maps and sattelite layers with zoom levels 17 and 16. Any other zoom level shows 'missing tile'
  62. Adding new map:
  63. - in gmapcatcher look at 'settings' at 'Custom Maps Directory'. Copy the directory to the storage card to the directory '<storage card>\wmobilemaps\maps\' and start wmobilemaps.
  64. - in menu 'Options' select 'Select map'. New map should be listed in the window.
  65. - when new map is first time opened/selected or map was updated and copied to the device and it is SQLite3 type it can take some time before map is displayed. Device looks like it does nothing and seems to be frozen. It is not.
  66. Why? Because device scans over all tiles in repository and try to find all different layers used. It can take several minutes. For repository 400MB expect to wait up to 2min. After scan finishes information about repository (number of layers and repository size in bytes) is saved into cache file in maps directory. When the map is opened afterwards the information is read from the cache file and start is fast.
  67. Known issues - bugs:
  68. - on some occasion while GPS is switched off the app hangs. It stops responding.
  69. Solution: the only successful solution is to restart device :(
  70. I believe it is deadlock. The code is based on windows mobile example. I think I know where the problem is but i'm not sure and I have no dev environment. For me it is the most annoying error but I am unable to fix it right now.
  71. - on some occasion while panning/zooming wmgooglemaps is not able to open tile because OutOfMemory error. Just close the error message and pan map, the tile should be opened correctly on next occasion. In my case it always is.
  72. - it happened that data for some tile was downloaded incorrectly. So image itself stored in tiles repository is invalid. It happened to me only twice on really slow internet connection. I think problem was with internet connection and not gmapcatcher but I am not sure and I'm unable to reproduce the state. While displaying the tile in gmapcatcher it was half black. Top of tile was OK, but bottom half was black, data were missing. GMapCatcher had no problem processing data but wmgooglemaps has problem. It shows error repeatedly. I was able to get rid of error by trying to close error message and switch the zoom layer. It seems there is problem with image library used by wmgooglemaps (windows mobile?). To get rid of error it is required to re-download the tile.
  73. - waypoints file is not compatible with GMapCatcher. This inconsistency (GMapCatcher / wmgooglemaps) should be solved in next versions.
  74. The end of readme.txt