home *** CD-ROM | disk | FTP | other *** search
/ MacWorld Mac Secrets (5th Edition) / macworld-mac-secrets-5th-edition.iso / Complete Software Collection / HiResMap 1.7 / Read Me
Encoding:
Text File  |  1998-07-12  |  7.3 KB  |  239 lines  |  [ttro/ttxt]

  1. Paste a high resolution image
  2. into the Map control panel
  3.  
  4. Your Map control panel probably looks like one of these images (color Macs shown at left, black-and-white shown at right).
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27. They're OK, I guess, but look what happens when you zoom the picture 8X by holding shift and option keys while opening the Map control panel (see Map zooming in Macworld Mac SECRETS, or read the end of this document, if you're not familiar with the zooming options of the Map control panel):
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41. Obviously the resolution is acceptable only for the unzoomed image!
  42.  
  43. So how about pasting an image with 8 times higher resolution into the Map cdev, that is an image 8 times wider and taller than the default images?
  44.  
  45. Here's the answer, same part of the world, same zoom rate:
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59. Now imagine that you could boost the image window in Map control panel, and thereby be able to see more of the image at the same time:
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88. The folder HiResMap 1.6 contains all you need to modify your Map control panel like this.
  89.  
  90. (If you have a black-and-white Mac you won't have the legend in the Map main window. The controls will be placed side by side below the image window.)
  91.  
  92.  
  93. Step #1:
  94. Pasting the image
  95.  
  96. (Please note that you must have QuickTime installed for this stunt! You may also have to give SimpleText a bigger memory allotment. See Memory allotments for programs in Chapter 10 of Macworld Mac SECRETS if you don't know how.)
  97.  
  98. Open one of following files with SimpleText:
  99.  
  100.           Map Image color
  101.           Map Image b/w
  102.  
  103. (Note for color Macs: Before opening the file, set an appropriate screen depth with the Monitors or Monitors & Sound control panel. This will become the permanent pixel depth of the image and affects the appearance of the unzoomed image whenever opening Map control panel in the future:
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120. From top left to bottom right: appearance of unzoomed image at 16, 256 and thousands of colors, respectively. Future changes of the screen depth won't affect the appearance much. Larger pixel depth = slower image loading when opening the Map control panel.)
  121.  
  122. The method for the next step depends on what system you run:
  123.  
  124. For system versions up to and including 7.5.5:
  125.  
  126.      Choose Select All from the Edit menu.
  127.      Choose Copy from the Edit menu.
  128.      Open (a copy of) the Map control panel.
  129.      Click anywhere in the map image.
  130.      Choose Paste from the Edit menu.
  131.  
  132. For system version 8.0:
  133.  
  134.      Choose Select All from the Edit menu.
  135.      Choose Copy from the Edit menu.
  136.      Open (a copy of) the Map control panel with ResEdit.
  137.      Open resource type PICT.
  138.      Open resource ID -4064.
  139.      Choose Paste from the Edit menu.
  140.                     Close ResEdit.
  141.  
  142. (There seems to bee a bug in system 8.0 that makes it impossible to paste a picture into Map control panel whithout tampering whith a resource editor such as ResEdit. That's why you have to use the second method. I don't know whether you can use the first method for system 7.6. Try!)
  143.  
  144. That's it!
  145.  
  146. When you get tired of browsing the world through that small window, turn to the next project:
  147.  
  148.  
  149. Step #2:
  150. Boosting the window
  151.  
  152. (The 12"screen and 13"up options also add a legend for the map.)
  153.  
  154. Depending on your screen size, choose one of the following files:
  155.  
  156.           9"classics (for Plus, SE, SE/30, Classic etc)
  157.           12"screen (for Colour Classic, PB 165c, Duo etc)
  158.           13"up
  159.  
  160. Open the file with ResEdit.
  161. Copy all the resources (except the '<DF>' resource type that appears if you have the Forker extension!!!)
  162. Open (a copy of) the Map control panel with ResEdit.
  163. Paste the copied resources into it.
  164. When asked if you want to replace resources with the same id:s, click Yes.
  165.  
  166. That's it!
  167.  
  168.  
  169. A couple of words about 
  170. zooming on really fast Macs:
  171.  
  172. (For basic zooming instructions see Zooming options in the Map control panel at the end of this document.)
  173.  
  174. I tried my modified version of Map on "beta tester" Tobias' 604e 200 MHz Mac (8600). The x2 and x8 zooming options involve the shift key being kept pushed during Map launching, but AFTER double clicking. The timing was REALLY tricky on the 8600 since the Map window blew open almost BEFORE the double click was completed! The obvious workaround was this:
  175.  
  176. Select the Map icon.
  177.  
  178. Hold down the modifier keys combination for the zooming rate you want, also when it includes the shift key.
  179.  
  180. Open Map with cmd-O instead of double clicking it. If you don't want the big location marks, you will have to let go the cmd key (but not the shift and/or opt keys) IMMEDIATELY after hitting the O-key. Again, this is a matter of timing! If absence of big location marks is really essential, you will simply have to use the mouse and choose the Open command in the File menu, while holding the modifier key combo for the desired zoom rate/big marks configuration.
  181.  
  182.  
  183. So you want to know the name of
  184. one of those flashing cities, eh?
  185.  
  186. Piece of cake!
  187.  
  188. Place the arrowhead in the vicinity of the mark. Push the mouse button, and keep it down while you scan the approximate center of the flashing area. Once you hit the hot spot, the name of the city will appear in the text box and won't disappear until you do a new MouseDown. As long as you keep the mouse button down after hitting the first hot spot, you may even hit others whithout anything happens.
  189.  
  190. Note that even if you choose big location marks, the hot spot is only one pixel (the lower right of the center four pixels of the mark)!
  191.  
  192.  
  193. About this hack
  194.  
  195. This ResEdit hack is freeware. You may distribute it freely, compressed or not, as long as you don't split the package or modify the files, and as long as you don't charge anyone for it. Please be sure to distribute only the complete folder HiResMap 1.6 containing exactly these six files:
  196.  
  197.           Read Me
  198.           Map Image b/w
  199.           Map Image color
  200.           9"classics
  201.           12"screen
  202.           13"up
  203.  
  204.  
  205. About the map image
  206.  
  207. The map image started out as a b/w outline image downloaded from:
  208.  
  209. http://mapweb.parc.xerox.com/map
  210.  
  211. If you are at all interested in maps you simply HAVE to visit this superb site!! 
  212. Images are generated on line at your own specifications by their Xerox PARC Map Viewer. Map rendering options are encoded into the URL by typing in the URL textbox and/or clicking words in the text body of the HTML document. Codes are explained in a separate HTML document. The URL resulting in the map I used for this hack is: http://mapweb.parc.xerox.com/map/db=world/all/color/proj=rect/iwd=2912/iht=1456
  213. Images are not copyrighted according to the FAQ on the same site.
  214.  
  215. I colorized the image in 4 bit color (standard system palette) using GraphicConverter 2.8 by Thorsten Lemke.
  216.  
  217.  
  218. Göteborg, Sweden, Feb 12, 1998
  219.  
  220. Göran Svegler
  221. Sten Sturegatan 25
  222. S-412 52  GÖTEBORG
  223. SWEDEN
  224. Tel +46-31-181-714
  225. E-mail: goran.svegler@mbox300.swipnet.se
  226. (Coordinates: Göteborg 57° 44' N, 11° 58' E)
  227.  
  228.  
  229. Zooming options in 
  230. the Map control panel:
  231.  
  232.    _______________________________
  233.    Zoom rate     |   Modifier keys
  234.    x1 (default)  |   None
  235.    x2            |   Shift
  236.    x4            |   Option
  237.    x8                                       |   Shift + Option
  238.  
  239. Hold the modifier(s) during Map launching. Note: When the shift key is involved you must wait to push it till immediately AFTER the double click, or the Map icon will just toggle between selected and deselected mode. Add the cmd-key during opening procedure if you want the size of flashing location marks to follow the zoom rate.