VisualBasic123
所属分类:其他
开发工具:Visual Basic
文件大小:399KB
下载次数:112
上传日期:2006-01-08 11:03:18
上 传 者:
iamanaquarian
说明: GIS地理信息系统开发。大名鼎鼎的MAPX+VisualBasic6.0软件开发,所提供的VB源代码
(GIS development. The famous Connection Visual Basic 6.0+ software development, provided by the VB source code)
文件列表:
VisualBasic\ANIMATION_LAYER\CARTRACKER.VBP (782, 2002-05-20)
VisualBasic\ANIMATION_LAYER\frmCarTracker.frm (43904, 2002-05-20)
VisualBasic\ANIMATION_LAYER\FRMCARTRACKER.FRX (608, 2002-05-20)
VisualBasic\ANIMATION_LAYER\MODANIM.BAS (487, 1999-07-22)
VisualBasic\ANIMATION_LAYER (0, 2006-01-05)
VisualBasic\Drilldown\Data\2Region.DAT (324, 1999-08-12)
VisualBasic\Drilldown\Data\2Region.ID (8, 1999-08-12)
VisualBasic\Drilldown\Data\2Region.IND (2560, 1999-08-12)
VisualBasic\Drilldown\Data\2Region.MAP (40448, 1999-08-12)
VisualBasic\Drilldown\Data\2Region.TAB (208, 1999-08-12)
VisualBasic\Drilldown\Data\DDTestUSA2.tab (1185, 1999-08-12)
VisualBasic\Drilldown\Data\MultiRegionSales.DAT (906, 1999-08-12)
VisualBasic\Drilldown\Data\MultiRegionSales.ID (32, 1999-08-12)
VisualBasic\Drilldown\Data\MultiRegionSales.IND (2048, 1999-08-12)
VisualBasic\Drilldown\Data\MultiRegionSales.MAP (81408, 1999-08-12)
VisualBasic\Drilldown\Data\MultiRegionSales.TAB (200, 1999-08-12)
VisualBasic\Drilldown\Data\STATES.DAT (10517, 1999-08-12)
VisualBasic\Drilldown\Data\STATES.ID (204, 1999-08-12)
VisualBasic\Drilldown\Data\STATES.IND (8192, 1999-08-12)
VisualBasic\Drilldown\Data\STATES.MAP (90624, 1999-08-12)
VisualBasic\Drilldown\Data\STATES.TAB (794, 1999-08-12)
VisualBasic\Drilldown\Data\usaXXX.DAT (217, 1999-08-12)
VisualBasic\Drilldown\Data\usaXXX.ID (4, 1999-08-12)
VisualBasic\Drilldown\Data\usaXXX.IND (1024, 1999-08-12)
VisualBasic\Drilldown\Data\usaXXX.MAP (181248, 1999-08-12)
VisualBasic\Drilldown\Data\usaXXX.TAB (233, 1999-08-12)
VisualBasic\Drilldown\Data (0, 2006-01-05)
VisualBasic\Drilldown\DrilldownSample.frm (55134, 2001-08-07)
VisualBasic\Drilldown\DrilldownSample.frx (2476, 2001-08-07)
VisualBasic\Drilldown\DrillDownSample.TXT (1326, 1999-08-26)
VisualBasic\Drilldown\DrilldownSample.vbp (983, 2001-08-07)
VisualBasic\Drilldown\DrilldownSample.vbw (55, 1999-08-12)
VisualBasic\Drilldown (0, 2006-01-05)
VisualBasic\FIND\FINDDLG.FRM (15177, 1999-07-22)
VisualBasic\FIND\FindMapForm.frm (36478, 2001-08-07)
VisualBasic\FIND\FINDMAPFORM.FRX (608, 2001-08-07)
VisualBasic\FIND\FIND_EXAMPLE.VBP (918, 2001-08-07)
VisualBasic\FIND\LAYER2DATASET.FRM (3154, 1999-07-22)
VisualBasic\FIND\LAYER2DATASET.FRX (4, 1999-05-06)
... ...
Note: This sample application and corresponding sample code is provided
for example purposes only. It has not undergone rigorous testing
and as such should not be shipped as part of a final application
without extensive testing on the part of the organization releasing
the end-user product.
This Visual Basic example uses the latest MapX OCX Control. The main goal of
this example is to show the use of the new Search capabilities in MapX.
The program shows how to use all the new search functions that
have been added as methods of the layer object. This shows the use of
SearchWithinDistance, SearchWithinRectangle, SearchWithinFeature and
SearchAtPoint.
Files:
SearchMain.frm
SearchMain.frx
SearchExample.vbp
Overview:
There are 3 Menu Item choices, the Map Control, 2 Combo boxes and a
list box.
Under the File menu option is the "exit" option to end the program.
Also there is a choice for Layer Control, which displays the Layer
Control Stock MapX Dialog.
Tools Menu option: The first three zoomIn, zoomOut, and pan all set
the active tool to be the respective MapX default tool.
Search Tools: The First four menu items set the active tool to be a
custom tool type used for performing the searches.
All Tools perform the search on the layer specified in the search
layer combo box. The SearchWithingFeature uses the FeatureSearchLayer
to determine the layer the feature to be used is in, and the uses the
searchLayer to perform the search for all objects that fall within the
feature clicked in.
While performing the search, if the control key is held down, the
search results will include all those objects that are entirely in
the specified region. If the shift key is down, the search results
will include all those objects partially in specified region. If neither
are down, the search results will include all those objects whose
centroid fall within specified region.
Programmers Note: Due to the curvature of the earth, the search for
items in a rectangle will not return everything that would fall under
the dashed line that gets drawn. Instead, the rectangle will be
calculated to reflect it as if it were drawn above the earth, so the
item in the result may not be exactly as you expect, but this is the
desired effect.
The results of the search will be populated into the listbox.
SearchWithinDistance - This tool will allow the user to draw a circle
and then will perform a distance search using the diameter value.
SearchWithingRectangle - This tool will allow the user to draw a
rectangle and then will perform a search within this rectangel. See
programmers note above.
SearchWithingFeature - This tool will allow the user to click on a layer
that is specified as the featureSearchLayer. The object that the user
clicks on will then be used as the feature to search, from the searchLayer,
all the objects that fall within that Feature.
SearchAtPoint - This tool will search for features at the specific X, Y
location that the user clicked.
The fifth menu item is used as an on and off menu item. If the menu item
is checked, the search results for the layer will become the selection for
that layer and the objects searched will become highlighted. If the menu
is not checked, search results are not added as the current selection.
近期下载者:
相关文件:
收藏者: