javAPRS
Home Page

ShapeFile Maps


The only parameter required by javAPRS is the map file parameters (without a map, there isn't much point to javAPRS!).

<PARAM name="shapeMap" value="usa.zip">

ShapeFile maps should have the suffix of ".shp" or ".zip".

There are several parameters that affect the way ShapeFile maps are displayed.

<PARAM name = "mapCenterLat" value = "33"> (default 0)
<PARAM name = "mapCenterLon" value = "96"> (default 0)
<PARAM name = "scale" value = "64"> (default 1.0)

The map can either be automatically scaled to be as large as possible but still fit within the boundaries of the applet, or the zoom and scale can be manually specified.

The values of these parameters must be determined largely by trial and error to get the display you want. In order to make the process easier, the program will print out the value of these parameters to the java console every time a scroll and zoom is done. To use this feature, zoom and scroll the map as desired, then look in the console for the values. Note that these values only specify the initial display; once javAPRS is running the user is able to change the zoom and scroll to suit themselves.

<PARAM name = "backgroundColor" value = "black"> (default gray)

Normally, javAPRS displays dos maps with a light gray background, and callsigns are shown in black. javAPRS can also display maps on a black or white background. There are two separate icon files which are optimized for light and dark backgrounds.

You must also include the necessary jar files in case the user is using an older browser or JVM. The proper jar files to add are japrsshp.jar and japrsshp.cab if not a pre-OS X Mac or japrsshpmac.jar for a pre-OS X Mac.

<APPLET ... archive="japrs.jar,japrsshp.jar">
<PARAM name="cabinets" value="japrs.cab,japrsshp.cab">