| Overview |
| This example was created to demonstrate an alternative use of the MapTron 1022 product. The solution displays state population and population change over time from 1960 to 2005 with a graphical map interface. The panel to the right of the map controls the map interface. Select the view to change the data type (state population or population change). Use the yellow control buttons to change the year. Clicking on the yellow button with green arrow advances the years at the set rate. Click on a state on the map and the state data box shows population information for that state. |
| |
| Technical Details |
| The solution operates on the client side once the page and resources have downloaded from the server. There is no client (browser) to server interaction during operation. The page loads along with JavaScript data and functions used to control the display. The system first creates frames for each sequence (year). Each frame contains the XML to configure the map and is stored in a JavaScript array. The control panel calls on JavaScript functions to send the corresponding XML data to the map. The embedded map application receives the XML data and automatically self-configures, coloring the states. Clicking on a state calls on a JavaScript function that displays data for the state in the control panel. |
| |
| Notes |
| The population data was obtained from the US Census for the years 1960, 1970, and 1980 through 2005. Data for 1961 through 1969 and 1971 through 1979 was extrapolated to construct this solution. The population change is calculated for 1961 through 2005, the map is white (no data) for 1960. |
| |
| Download |
| This solution is available for download. The solution package contains all files required to build the interface. Extract all files from the zip compressed package into a new folder on your computer prior to working with the files. |