|
Source code Project files
This IS LITE sample shows how to build project files to present selected data with a dependence
on scale. Zoom in a little and select any city from the "Choose City" drop down list.
The map view will move to highlight the area centered on that city, with no change
in the map scale.
This sample is created using a TIFF format raster image and a vector map layer held
in a SQL database. The SQLLayers function provides for the storage of all the vector
geometry in a single SQL database file.
The list of cities presented in the sample is built from the table "1pppoint_FEA"
from the SQLLayer stored in dcw_data.mdb. The list is dynamically connected to
the vector data. Any changes made to the vector data are reflected to the list of
cities.
Notice that the descriptions for the vectors are not written in the
florida.ttkgp file. The "ini" is used
instead to describe each layer separately, similar to the
Locate a district sample.
|