Home
MapPro80_User Manual Addendum
Contents
1. 7352 30 Marine terminal Reserved 31 Reserved 32 Reserved 33 7383 9732 34 TANA GDT FCC Airport property Boundary NEW Reserved 35 Reserved 36 1 9790 37 Shopping center or major retail center 2 9715 9383 38 Industrial building or industrial park 3 Reserved 39 4 9902 9733 40 Amusement center 5 9745 7367 41 Government center 6 Reserved 42 7 7474 9768 43 Stadium TANA NEW g Reserved 44 9 Reserved 45 Reserved 46 9911 9744 47 Golf course 9030 9788 48 9915 9752 9918 Cemetery Reserved 49 Reserved 50 7120 9387 51 State or local park or forest Reserved 52 Reserved 53 Reserved 54 1 Reserved 55 2 Reserved 56 3 Reserved 57 4 Reserved 58 5 Reserved 59 6 Reserved 60 7 Reserved 61 8 Reserved 62 9 4770 63 Water Feature Reserved 64 Reserved 65 Reserved 66 Reserved 67 Reserved 68 MapPro80 User Manual Addendum 22 39 Reserved 69 Reserved 70 Reserved 71 Reserved 72 9 1 Reserved 73 2 Reserved 74 3 Reserved 75 4 Reserved 76 5 Reserved 77 6 Reserved 78 7 Reserved 79 8 Reserved 80 9 Reserved 81 MapPro80 User Manual Addendum 23 39 IN Location of Glyphs for the GNIS Landmarks database Col Row Type Area Bar Basin Bay Beach Bench Bend Bldg WO oo
2. UnderTow Software J Mapping amp GIS Technology MapPro80 SDK Reference Manual Addendum Rev 3 19 Documents modifications and enhancements since the original printing of the User s Reference Manual and includes all previous addenda Contents A Modifications to Landmark searching sesse Ee ees ek ese es se ed ge ee ee ee ee 3 B Modifications to the Magnitude property array new entries 18 19 and 20 esse ese esse ee se ee se 4 Magnitude TxMagnitude Property SKEER ei Ek ee Ge en Gen ee RE ER Se Ee ENE Ge ee 4 C Enhancements to Search Dialog Functions a ssccoisssssoscedssuiedsdesacesadssaisdalesadessdvesevsatedscuiecereassscasveesess 5 ExecClosest Result String Procedure ee SR oe ae es so ee ge Ee Ge Ged 5 PxecLandMark Result Strimg Procedure EER SEAN AE Ee ER NE Se ee ede Gee es es ee 6 ExecLonlLat Result string Procedure ees de se ee ee eo ee n sen eneee 7 ExecPlace Result String Protedure EE ee ee ee ee Ge ER ee Ge Rg De R ds 7 ExecPOLResult String EEUE ee En PEs nee OO 8 EXecStreet Result String Procedure Ee EE Ee Ge ee ee ee AG Ee ED ee 8 ExecZipcode Result String Procedure ss es ee ee shh ee eg 10 D New Additions to the MapProperties Interface iese Re Re RA Re Re ee ee ee 11 RoadInnerColor index integer Integer Property esse esse esse se ee Re Re AR ee ee ee 11 RoadOuterColor index integer Integer Property ees ss esse see ee Re ee AA Re ee 12 LandmarkSource TxLandmark Propert
3. X ToString N6 End If End Sub MapPro80 User Manual Addendum 27 39 F Changes Enhancements to Other Functions or New Functions Added FindClosestCityFirst X Y Rad Pop Num Opt string Function A new Option Opt 2 was added to this function so the description for Opt the last parameter specified in the function call is now as follows Opt Option specifying the type of search 1 Find closest place with population less than the one specified 1 Find closest place with population higher than the one specified 2 Find closest place based on layer visibility at current scale 0 Find closest place regardless of population Every other aspect of the function behavior remains the same User ZoomExtents Function Zooms in or out as needed so that all the UserObjects currently defined in the O th first user Layer are visible in the viewport Note that there is also a UserMgr ZoomExtents function off each of the user Layers See example below C Example private void button15 Click object sender EventArgs e User Items Layers p asea MapPro89 1UserObj mObject1 mObject2 mObject3 mObject4 mObject5 MapPro8 IUser mLayer1 mLayer2 mLayer3 int i j LayerCount LayerObjectCount n Double a Create three layers mLayer1 axMapPro1 UserMgr add mLayer2 axMapPro1 UserMgr add mLayer3 axMapPro1 UserMgr add Set some User Layer visibility parameters mLayer1 Name My First L
4. string s myCAD Caption if s null listBox1 Items Add i ToString CAD Item Located s Type myCAD ObjectType ToString else listBox1 Items Add i ToString CAD Item Located No Caption CAD Item Type myCAD ObjectType ToString MapPro80 User Manual Addendum 32 39 myCAD axMapPro1 Cad FindItemNext i axMapPro1 Cad FindItemClose CAD FindItemNext ICadObj Function Returns the next CAD object from the list object created by the CAD FindItemFirst Returns null if the last object has already been returned AutoQueryStr String Property Returns the hint string that appears when the cursor rests on a place street etc is AutoQuery is set to True C Example private void axMapPro1_MouseMoveEvent object sender AxMapPro8 IMapProEvents_MouseMoveEvent e Display the QutoQuery hint string in a list box as the mouse moves around string s axMapPro1 AutoQueryStr if s null listBox1 Items Add s Modifications regarding Expired Evaluation Licenses A modification was made to let the developer now when an evaluation copy has exceeded its evaluation period in non visual instances of the control While in visual implementations when the Map would redraw the expired state of the evaluation license was detected and an appropriate dialog was displayed in non visual instances that would not take place and the OCX would simply not all
5. 78 Not Currently Used 7 79 Not Currently Used 8 80 Not Currently Used 9 81 Not Currently Used MapPro80 User Manual Addendum 26 39 E Changes to Results Returned by Certain Functions FindStateAtPoint X Y Double String Function Returns the full name of the state followed by the two letter state name abbreviation followed by the state FIPS code at the specified Lon Lat coordinates separated by a tab character If no State Information is available then the string None Found is returned VB Net Example Private Sub Button296_Click ByVal sender As System Object ByVal e As System EventArgs Handles Button296 Click Dim X Y As Double Dim s As String s AxMapProl FindCountyAtPoint X Y If s lt gt Then ListBoxl Items Add County s Else ListBoxl Items Add NO County Retrieved at location _ X ToString N6 X ToString N6 End If End Sub FindCountyAtPoint X Y Double String Function Returns the County name followed by the County FIPS code at the specified Lon Lat location VB Net Example Private Sub Button296_Click ByVal sender As System Object ByVal e As System EventArgs Handles Button296 Click Dim X Y As Double Dim s As String s AxMapProl FindCountyAtPoint X Y TE s lt gt 1r Then ListBoxl Items Add County Name and FIPS Code s Else ListBoxl Items Add NO County Retrieved at location _ X ToString N6
6. N OV BUL NI PR WO CO N OU BUI ND He Bridge Canal Cape Cemetery Channel Church Cliff Dam Falls Flat Forest Gap Gut Harbor Hospital Island Lake Levee MapPro80 User Manual Addendum Mil Milh Mine Oilfield Pillar Plain Range Rapids 24 39 MapPro80 User Manual Addendum 35 Reserve 36 Resv 5 1 37 Ridge 2 38 School 3 39 Sea 4 40 Spring 5 41 Stream 6 42 Summit 7 43 Swamp 8 44 Tower 9 45 Trail Tunnel Valley Well Not Currently Used Not Currently Used Not Currently Used Not Currently Used Not Currently Used Not Currently Used 7 1 55 Not Currently Used 2 56 Not Currently Used 3 57 Not Currently Used 4 58 Not Currently Used 5 59 Not Currently Used 6 60 Not Currently Used 7 61 Not Currently Used 8 62 Not Currently Used 9 63 Not Currently Used Not Currently Used Not Currently Used Not Currently Used Not Currently Used Not Currently Used Not Currently Used Not Currently Used Not Currently Used Not Currently Used 25 39 9 1 73 Not Currently Used 2 74 Not Currently Used 3 75 Not Currently Used 4 76 Not Currently Used 5 77 Not Currently Used 6
7. int CenterX int CenterY axMapPro1 LL2Screen axMapPro1 LonCenter axMapPro1 LatCenter ref CenterX ref CenteryY myCAD axMapPro1 Cad FindItemScreen CenterX CenterY MapPro80 User Manual Addendum 31 39 string s myCAD Caption if s null listBox1 Items Add CAD Item Located s Type myCAD ObjectType ToString else listBox1 Items Add CAD Item Located No Caption CAD Item Type myCAD ObjectType ToString CAD FindItemClose Function Clears the list object created by the CAD FindItemFirst function and returns any resources it was using back to the system Also see CAD FindItemFirst CAD FindItemFirst x y Double Option Integer ICadObj Function Locates all CAD items at the specified Coordinates places them in a list object and returns the first element of the list object as a CAD object interface The results are determined using a Point in polygon test if the CAD object is a polygon or a proximity test otherwise X Y Coordinates to use for the Search Option 0 Use Lon Lat coordinates 1 Use screen coordinates X Y will be truncated C Example private void axMapPro1 MouseUpEvent object sender AxMapPro8 IMapProEvents_MouseUpEvent e 1 MapPro89 1CadObj myCAD if PiPMode true listBox1 Items Add Start Searching for CAD Objects int i T myCAD axMapPro1 Cad FindItemFirst axMapPro1 Xcord axMapPro1 Ycord 8 while myCAD null
8. 7 Reserved 79 8 Reserved 80 9 Reserved 81 MapPro80 User Manual Addendum 20 39 ID Location of Landmark Glyphs in bitmap for newer TANA Multinet datasets Note that not ALL Landmark Categories are available in the Landmarks file The ones present in the data are presented in the table below Col Row CFCC Description 1 Reserved 2 9388 9789 2 Military installation or reservation major category used alone 3 Reserved 3 4 9381 4 Apartment building or complex 5 Reserved 5 6 Reserved 6 7 Reserved 7 8 Reserved 8 9 Reserved 9 7314 9749 10 Hotel motel resort spa hostel YMCA or YWCA 7360 9735 11 Campground Reserved 12 Reserved 13 9748 7321 14 7391 Hospital Reserved 15 Reserved 16 Reserved 17 Reserved 18 1 Reserved 19 2 9919 9761 20 Federal penitentiary state prison or prison farm 3 Reserved 21 4 Reserved 22 5 Reserved 23 6 7377 7386 7372 24 Educational institution including academy school college 9791 9771 and university 9901 9731 25 7 9906 9739 9916 9753 Religious institution including church synagogue seminary 7339 temple and mosque g Reserved 26 Reserved 27 7380 9762 28 Train station 7384 29 Bus terminal MapPro80 User Manual Addendum 21 39
9. 92 270103 34 745463 5 X 4 Find Location 92 270103 34 745463 a 0 00 mi One Way 5 Little Rock AR 72201 0 03 mi 135E 4th St One Way E Little Rock AR 72201 0 03 mi One Way 5 Little Rock AR 72201 0 03 mi 119E 4th St One Way E Little Rock AR 72201 0 03 mi 360 Scott St Little Rock AR 72201 0 04 mi 200 E 4th St One Way E Little Rock AR 72202 0 04 mi 400 5 Scott St Little Rock AR 72201 0 04 mi One Way 5 Little Rock AR 72201 0 04 mi 151 E 3rd St Little Rock AR 72201 0 04 mi 152E 3rd St Little Rock AR 72201 0 04 mi 355 S Main St Little Rock AR 72201 0 05 mi 100 W 4th St One Way E Little Rock AR 72201 he Found 501 items V Mark Selected Point on Close Ok Cancel VB Net Example Private Sub Button65_Click ByVal sender As System Object ByVal e As System EventArgs Handles Button65 Click Dim sRes As String Test the ExecClosest Function AxMapProl ExecClosest ref sRes End Sub MapPro80 User Manual Addendum 5 39 ExecLandMark Result String Procedure Opens up the Search dialog and enables the user to search for a landmark point Note that within the context of MapPro Landmark points are different than POIs They originate from different databases and are treated different Result contains the internal unparsed string returned by the search engine corresponding to the item the user selected from the list of returned results pr
10. If avery small value is specified then the control switches into the grab and pan mode almost immediately There is however some finite delay in the CPU s processing of events so even if this property is set to one 1 millisecond it s possible that the user can very quickly click and drag the mouse pointer and still zoom the map using the default zoom rectangle mode Setting the value to zero has the same effect as disabling the mode The default value of this property is set to 300 milliseconds MapProperties MapRotation Double Property Controls the map rotation clockwise in degrees Note that the map rotation may also be set using the MapPro80 RotateMap function off the OCX main interface whereas this property allows the user to both set and query the rotation angle MapPro80 User Manual Addendum 38 39 MapProperties ZoomOverPixels Integer Property Specifies the number of pixels that amy ZoomExtents operation should overshoot the calculated extents by so that the user can avoid missing portions of information that might be clipped by the viewport The number of specified pixels is added to both sides of the controlling larger dimension of the viewport and a proportional number of pixels is added to both sides of the second dimension before the map is redrawn Here is an example of a map following a MapPro80 UserMer Layer 1 ZoomExtents with ZoomOverPixels 0 default and ZoomOverPixels 60 to avoid
11. Jail or detention center 2 D37 AL 20 Federal penitentiary state prison or prison farm 3 pao 21 Educational or religious institution major category used alone when the minor category could not be determined 4 D41 22 Sorority or fraternity 5 D42 23 Convent or monastery 6 D43 IN AL 24 Educational institution including academy school college and university MapPro80 User Manual Addendum 18 39 7 D44 IN 25 Religious institution including church synagogue seminary temple and mosque 8 D50 26 Transportation terminal major category used alone when the minor category could not be determined 9 D51 27 Airport or airfield 4 D52 TT 28 Train station D53 TT 29 Bus terminal D54 TT 30 Marine terminal D55 31 Seaplane anchorage D56 32 SRI Subway or metro station NEW FROM ESRI D57 33 Airport Statistical Representation used as part of urban area delineation where major airports are contiguous with urban areas D58 AP 34 TANA GDT FCC Airport property Boundary NEW D59 AP 35 TANA GDT FCC airport runway NEW D60 36 Employment center major category used alone when the minor category could not be determined 5 1 D61 RC AL 37 Shopping center or major retail center 2 D62 AL 38 Industrial building or industrial park 3 D63 39 Of
12. the specified database will be rendered If LanmarkSource 0 and you are using the TANA09Q4 Dynamap Data The two letter codes of the TANA general categories below need to be specified separated by a comma see table in LandmarksGlyphFile section for description of these Landmark categories AL includes CFCC D10 D31 D37 D43 D61 D62 D64 D67 D81 D82 AP includes CFCC D58 D59 IN includes CFCC D31 D43 D44 D65 D82 RA includes CFCC D81 D92 TT includes CFCC D52 D53 D54 RC includes CFCC D61 PK includes CFCC D83 D85 D89 WP includes CFCC H11 H21 H31 H41 There may be some overlap in the CFCCs because these two groups are area landmarks and the same points may also be in one of the other groups as a point landmark For example using RC one would expect Shopping Center Landmarks to be visible but they may not be if the Shopping Centers in that area are defined as area Landmarks In order to render those the AL group should also be selected If LanmarkSource 0 and you are using the TANA1102 and later Multinet Data The two letter codes of the TANA general categories below need to be specified separated by a comma see table in LandmarksGlyphFile section for description of these Landmark categories AL includes 7110 7180 9353 9715 9733 9744 9748 9768 9771 9780 9788 9789 9790 9791 AP includes 9732 9776 RC includes 7314 7317 7318 7320 7321 73
13. type identified by index Note that in some development environments indexed properties cannot be accessed directly and the helper functions _getRoadOuterColor i and _setRoadOuterColor i need to be used instead Where Index 0 Interstate Highways 1 US Highways 2 Secondary Highways State highways County Road etc 3 Local Roads 4 Jeep Trails 5 Access Ramps 6 Ferries LandmarkSource TxLandmark Property Specifies whether the TANA TxLandmark tmTANA or 1 or the GNIS TxLandmark tmGNIS or 0 landmarks database will be used C Example private void menulteml66 Click object sender EventArgs e listBoxl Items Clear Select TANA LandMarks axMapProl MapProperties LandmarkSource MapPro80 TxLandmark tmTANA Specify a Glyphs bitmap file to use axMapProl MapProperties LandmarkGlyphFilename c mappro80 landSym bmp Set Both Glyphs and Text Scale to 1 0 mile axMapProl MapProperties LandmarkGlyphScale 1 0 axMapProl MapProperties LandmarkTextScale 1 0 axMapProl Redraw MapPro80 User Manual Addendum 12 39 LandmarkFilter widestring Property Specifies which landmark type should be rendered on the map The format of the specified filter depends on the setting of the LandmarkSource property but in all cases If Landmark Filter ALL Landmarks in the specified database will be rendered If Landmark Filter blank NO Landmarks in
14. 0 MA SH 110MMerrimack Ave Lowell MA 01826 100 Merrimack Plz River PL Lowell MA 01852 Found 5 items YSGBIB25 DCM 29696 Mark Selected Point on Close Cancel lt Note that a cross Street may also be specified in the search When a cross street search is requested the result is a single hit and it is identified by an asterisk in the first character position Street ddress ff street city state zip Cross Street Market street lowell ma palmer street 4 Find Market St One Way E Palmer St One Way N Lowell MA 01952 N Found 1 items Y9FBIB25 DCM 20992 Mark Selected Point on Close Cancel lt VB Net Example Private Sub Button76_Click ByVal sender As System Object ByVal e As System EventArgs Handles Button76 Click Dim sRes As String Test ExecStreet AxMapProl ExecStreet ref sRes End Sub MapPro80 User Manual Addendum 9 39 ExecZipcode Result String Procedure Presents user with the standard Zip Code search dialog Once a ZipCode is entered and the search is completed the user is presented with a listbox containing the retrieved matches Selecting one of the listbox choices presented by double clicking will center the viewport at the Lon Lat of the selected ZipCode centroid The substring search that is used allows the user to search for multiple ZipCodes in an area For e
15. 20 AxMapProl Magnitude CType i MapPro80 TxMagnitude AxMapProl Redraw smag Enum GetName GetType MapPro80 TxMagnitude i ListBoxl Items Add i ToString smag _ AxMapProl Miles ToString miles property setting System Threading Thread Sleep 1000 Next End Sub MapPro80 User Manual Addendum 4 39 C Enhancements to Search Dialog Functions A string parameter was added to the Search dialogs to return the item the user had selected prior to closing the dialog ExecClosest Result String Procedure Opens a dialog that permits the user to search and display up to 500 street segments closest to the current view port center point its coordinates displayed in the dialog Double clicking on one of the 500 listed street segments names or highlighting it and clicking OK will reposition the viewport around that point at the Zoom scale specified by the user Note that the first entry in the list corresponds to the Lon Lat coordinates used as the center of search Result contains the internal unparsed string returned by the search engine corresponding to the item the user selected from the list of returned results prior to closing the dialog Note that the companion functions FindClosestStreetFirst FindClosestStreetNext can also be used to find the closest street info and then manage that info programmatically Find Closest Point Ea Lon Lat Enter Coordinate Search Radius
16. 3 Local Roads 4 Jeep Trails 5 Access Ramps 6 Ferries Note that for categories 3 4 5 6 when the scale is below 0 01 miles the user specified colors are not used but the built in default colors are used instead C Example private void menultem1l63_Click_l object sender EventArgs e int RoadIndex Get index of road to change If none then change road index o i e Interstat if textBoxl Text RoadIndex 0 else RoadIndex Convert ToInt32 textBoxl Text Get and display Interstate Inner Color listBoxl Items Add Inner Old taxMapProl MapProperties get_RoadInnerColor RoadIndex ToString Set and Interstate Color axMapProl MapProperties set_RoadInnerColor RoadIndex ColorTranslator ToOle Color LightCoral listBoxl Items Add Inner New axMapProl MapProperties get_RoadInnerColor RoadIndex ToString i Get and display Interstate Outer Color listBoxl Items Add Outer Old axMapProl MapProperties get_RoadOuterColor RoadIndex ToString MapPro80 User Manual Addendum 11 39 Set and Interstate Color axMapProl MapProperties set_RoadOuterColor RoadIndex ColorTranslator ToOle Color Yellow listBoxl Items Add Outer New axMapProl MapProperties get_RoadOuterColor RoadIndex ToString axMapProl Redraw RoadOuterColor index integer Integer Property Sets the Outer color of double lined roads for the road
17. 39 7352 7356 7366 7367 7374 7375 7376 7380 7383 7395 9357 9362 9364 9377 9382 9902 9911 9913 9920 9935 PK includes 7170 WP includes 4310 There may be some overlap in the Landmarks in these groups because some of them are defined both as points and as polygons areas In general the 7 series are point landmarks and the 9 series are area landmarks MapPro80 User Manual Addendum 13 39 If LanmarkSource 1 The expanded GNIS category codes see below need to be specified separated by a comma Note that the bolded italics below are the general categories Only the entries under these categories can be used as filters not the categories themselves Dams Dam Green Space Forest Woods Reserve Mineral Mine Oilfield Manmade Bldg Bridge Cemetery Church Hospital Levee Mil Milh School Tower Trail Tunnel Well C Example private void menulteml70 Click object sender Terrain Area Arroyo Bench Cape Cliff Crater Flat Island Isthmus Lava Pillar Plain Range Ridge Slope Valley Mountain Hills Summit Water Related Bar Basin Bay Beach Bend Canal Channel Falls Gap Geyser Glacier Gut Harbor Lake Rapids Resv Sea Spring Stream Swamp Set TANA Landmark Fil axMapProl MapProperties 1 O Set GNIS Landmark Fil axMapProl MapProperties LandmarkFilter axMapProl Redraw MapPro80 User Manual Addendum lter
18. Dim sRes As String Test ExecLandMark AxMapProl ExecLandmark ref sRes End Sub MapPro80 User Manual Addendum 6 39 ExecLonLat Result string Procedure Presents user with a dialog that permits the input of Latitude and longitude coordinates and upon confirmation places the viewport around the point specified by the user Result contains the internal unparsed string returned by the search engine corresponding to the item the user selected from the list of returned results prior to closing the dialog Search for a Longitude Latitude Ea Lon Lat Enter Coordinate Search Radius 95 000000 37 500000 0 1 v Find 1 Location 85 37 5 FF 0 02 mi 1016 W Ave Girard KS 66743 2 Found 2 items V Mark Selected Point on Close Ok Cancel The search returns two hits 1 the location of the coordinates that the user entered and 2 the closest address road segment to the coordinates the user entered Double clicking on either of the two hits or highlighting one and clicking O K centers the Viewport around that location VB Net Example Private Sub Button68_Click ByVal sender As System Object ByVal e As System EventArgs Handles Button68 Click Dim sRes As String Test ExecLonLat AxMapProl ExecLonLat ref sRes End Sub ExecPlace Result String Procedure Presents user with the standard place search dial
19. Item 3 3 mObject5 x 110 mObject5 y 36 mObject5 LoadImage c develop undertow mappro8 rv3 bmp mObject5 Caption 5 18p Tr 15d B off 5 5 Offset in pixels mObject5 xofs Q mObject5 yofs mObject5 ImageHeight 5 axMapPro1 Refresh List Layers and Objects listBox1 Items Add of Layers axMapPro1 UserMgr Count ToString LayerCount axMapPro1 UserMgr Count The th layer is the old SetItem which is reserved for int ii ii lt LayerCount 1 ii listBox1 Items Add LayerObjectCount axMapPro1 UserMgr Layer ii Count listBox1 Items Add Layer ii ToString axMapPro1 UserMgr Layer ii Name LayerObjectCount ToString Objects The first Object should be zero based array for int jj 0 jj lt LayerObjectCount 1 jj listBox1 Items Add ID jj ToString axMapPro1 UserMgr Layer ii Items jj id ToString at Coords axMapPro1 UserMgr Layer ii Items jj x ToString axMapPro1 UserMgr Layer ii Items jj y ToString The th layer is the old SetItems layer so it s managed by User ZoomExtents for int k 1 k lt axMapPro1 UserMgr Count k axMapPro1 UserMgr Layer k ZoomExtents listBox4 Items Add Going to extents of Layer k ToString listBox4 Items Add Viewport Center at sCenter Application DoEvents Delay to see zoom action axMapPro1 Cad Clear Thread
20. Manual It does not take a search radius after the search string using the piping character However the piping character is used to specify a cross street search The specification is actually GeoFindFirst Street Street Name ICrossStreetName City State Where the ICrossStreetName is optional Example s Map GeoFindFirst Main Street North Andover MA will return IMA SH 28 N MAIN ST IANDOVERIIANDOVERIESSEX 25009IMAI018 1OIUSAI 71 152816142 678966 Whereas s Map GeoFindFirst Main Street Sutton St North Andover MA will return IMAIN ST AND SUTTON ST INORTH ANDOVERINORTH ANDOVERIESSEX 25009IMAI01845IUSAI 71 133333142 706460 PhoneRegInfo String Property This will allow you to modify the text in the Register Over the Phone dialog This is useful when you would like a different phone number so users can call your company directly instead of contacting UnderTow Software The first character of the string determines the Registration options in the dialog If the first character is e 1 The option to Register Over the Internet is disabled e 2 The option to Register by Phone is disabled e 4 The option to Register Later is disabled The above options are based on the bit position so they may also be uniquely combined So if the first character of the string is 3 the Option to register over the Internet value 1 bit position one and the Option to register by Phone value 2 bit position two are disabled
21. MapProl Cad Font Color RGB 0 0 255 AxMapProl Refresh mResult AxMapProl FindStreetFirst mBlock mStri mStr2 mCity mState mLon mLat mRadius While mResult lt gt i i 1 Mark each hit returned by the search x Val AxMapProl ParseTabField mResult 10 y Val AxMapProl ParseTabField mResult 11 AxMapProl Cad Text x y S i ToString ListBoxl Items Add x ToString Ty y ToString E _ mResult mResult AxMapProl FindStreetNext End While AxMapProl FindStreetClose AxMapProl Refresh Sub Buttonl64 Click ByVal sender As System Object ByVal e As System l Enid Sub EventArgs Handles Buttonl64 Click Find StreetFirst Next Looking for Intersection Dim mBlock mStri mStr2 mCity mState mResult As String Dim mLon mLat mRadius x y As Double Dim i As Integer i 0 mResult AxMapProl FindStreetFirst Summer St S Boston Bypass Boston MA 71 1 42 4 10 While mResult lt gt i i 1 Mark each hit returned by the search x Val AxMapProl ParseTabField mResult 10 y Val AxMapProl ParseTabField mResult 11 ListBoxl Items Add mResult mResult AxMapProl FindStreetNext End While AxMapProl FindStreetClose MapPro8 amp 0 User Manual Addendum 35 39 GeoFindFirst s String String The behavior of the GeoFindFirst function was incorrectly documents in the original User
22. Sleep 50e This will Zoom ALL the user Layers extents axMapPro1 UserMgr ZoomLayers MapPro8 amp 0 User Manual Addendum 30 39 UserMer ZoomLayers Function Zooms in or out as needed so that all the UserObjects currently defined in all user Layers are visible in the viewport Note that there is also a ZoomExtents function off each of the user Layers See code example for User ZoomExtents CAD FindItemLonLat x y Double 1CadObj Function Returns the CAD object at the specified Lon Lat coordinates This is determined by a point in polygon calculation if the object is a polygon or a proximity test otherwise C Example private void axMapPro1 MouseUpEvent object sender AxMapPro8 IMapProEvents_MouseUpEvent e MapPro8 ICadObj myCAD if PiPMode true myCAD axMapPro1 Cad FindItemLonLat axMapPro1 Xcord axMapPro1 Ycord string s myCAD Caption if s null listBox1 Items Add CAD Item Located s Type myCAD ObjectType ToString else listBox1 Items Add CAD Item Located No Caption CAD Item Type myCAD ObjectType ToString CAD FindItemScreen x y Integer ICadObj Function Returns the CAD object at the specified screen pixel coordinates This is determined by a point in polygon calculation if the object is a polygon or a proximity test otherwise C Example private void button19 Click object sender EventArgs e MapPro8 ICadObj myCAD
23. The string specified by PhoneRegInfo can also contain the information that is displayed as part of Step 2 in the Register by Phone part of the dialog using the piping character I followed by the desired string see the two sample code segments below The portion of the string preceding the piping character is also displayed on the surface of the map if the 15 day evaluation period has expired C Examples private void button23_Click object sender EventArgs e Set the string to be displayed and disable the Internet and Later Options axMapPro1 PhoneRegInfo 5This information will be displayed in the registration dialog as part of Step 1 when registering by phone Both Register on the Internet and Register Later options are MapPro80 User Manual Addendum 36 39 disabled Please Call 1 888 777 6666 to register this product Open the Registration dialog to test the strings axMapPro1 ExecRegister 1 And this is what the Register by Phone dialog should look like Registration by Phone This information will be displayed in the registration dialog as part of Step 1 when registering by phone Both Register on the Internet and Register Later options are disabled Please Call 1 888 777 6666 to reaister this product Product Code 1297 4044 4 After providing the product code and user information you will be given a serial number that will register this application Enter your serial code bel
24. ayer mLayer1 Upper 2000 mLayer1 Lower 8 1 mLayer1 Visible true mLayer2 Name My Second Layer mLayer2 Upper 2000 mLayer2 Lower 8 1 mLayer2 Visible true AE mLayer3 Name My Third Layer mLayer3 Upper 2000 MapPro80 User Manual Addendum 28 39 mLayer3 Lower 8 1 mLayer3 Visible true Add a new object to mLayer1 and give it an ID mObject1 mLayer1 NewItem 101 mLayer1 Font Color ColorTranslator ToOle Color Red Change some attributes mLayer1 Font Color ColorTranslator ToOle Color Red mLayer1 Font angle 25 mLayer1 Font Style 1 1 Bold 2 Italic 3 Both mLayer1 Font Mode 2 1 Transparent 2 Opaque Set some object Attributes mObject1 X 76 mObjecti y 34 mObject1 LoadImage c develop undertow mappro8g0 rv1 bmp mObject1 Caption 1 Bold 25d All other default Add a new object to mLayer2 and give it an ID But first change some attributes mLayer2 Font Color ColorTranslator ToOle Color Yellow mLayer2 Font angle 20 mLayer2 Font BackColor ColorTranslator ToOle Color Green mLayer2 Font Style 3 1 Bold 2 Italic 3 Both mLayer2 Font Mode 2 1 Transparent 2 Opaque mLayer2 Font Name Times New Roman mLayer2 Font Align 7 Center Aligned mLayer2 Font Size 16 Set some object Attributes mObject2 mLayer2 NewItem 20 1 mObject2 x 89 mObject2 y 40 a mObject2 Font angl
25. clipping the user objects in that layer ar BE SK MB A 5 200 mi ay f GED 300 km a gt ER gut Bismarck oye Austin amal Bato ZoomOverPixels 0 i ZoomOverPixels 60 UserMer ExcludeNonvisFromExtents boolean Property When set to True it excludes any non visible user objects whose visible property is set to false from the calculations trying to determine the extents of ANY User object layer The default setting of this property is False UserMer Layer n ExcludeNonvisFromExtents boolean Property When set to True it excludes any non visible user objects whose visible property is set to false from the calculations trying to determine the extents of the specific User object layer n Note that a setting of the global property UserMgr ExcludeNonvisFromExtents true overrides the setting of this individual layer property so if the developer wants to control the behavior of each layer individually then the global property should be set to false The default setting of this property is False MapPro80 User Manual Addendum 39 39
26. different hardwired font colors depending on the general category they belong to Note that this is visible only when the map is at scales smaller than what is specified by LandMarkTextScale C Example private void menulteml67 Click object sender EventArgs e listBoxl Items Clear Select TANA LandMarks axMapProl MapProperties LandmarkSource MapPro80 TxLandmark tmGNIS Set Landmark text color axMapProl MapProperties LandmarkTextColor ColorTranslator ToOle Color LightGreen Echo some of the settings listBoxl Items Add GlyphScale MapPro80 User Manual Addendum 15 39 axMapProl MapProperties LandmarkGlyphScale ToString listBoxl Items Add TextScale axMapProl MapProperties LandmarkTextScale ToString axMapProl Redraw LandmarkTextScale Double Property Specifies the scale miles below which the labels associated with the landmarks selected to be rendered will be visible The default value is 0 25 mi Note however that there is a built in upper value for visibility for the Landmarks layer of 1 0 miles so no landmarks info is visible above 1 0 mile Also it should be noted that for the text to be visible the glyph of the Landmark has to be visible as well so the user must make sure that LandmarkTextScale lt LandmarkGlyphScale C Example private void menultem366 Click object sender EventArgs e listBoxl Items Clear Select TANA LandMa
27. e mObject2 LoadImage c develop undertow mappro80 rv2 bmp mObject2 Caption 2 B I 20d 16p ctr Add two objects to mLayer3 and give them IDs First Set some attributes mLayer3 Font Color ColorTranslator ToOle Color Blue If a TrueType font name is not specified the internal font used by default gets pixelated very quickly mLayer3 Font Name Arial mLayer3 Font Size 18 mLayer3 Font Style 1 mLayer3 Font Mode 1 Set Layer Text angle to 15 deg mLayer3 Font angle 15 mObject3 mLayer3 NewItem 3 1 Setsome object Attributes mObject3 x 100 mObject3 y 46 mObject3 LoadImage c develop undertow mappro8g0 rv3 bmp mObject3 Caption 3 18p Tr d B je mObject4 mLayer3 NewItem 3 2 mObject4 x 105 x mObject4 y 41 mObject4 LoadImage c develop undertow mappro80 rv3 bmp Change the text angle for User object 4 sreciically mObject4 Font angle 15 MapPro8 amp 0 User Manual Addendum 29 39 Change Font size and type for user object 4 only mObject4 Font Size 12 mObject4 Font Style 3 mObject4 Caption 4 12p 15d B 1 Set the transparency for the 4th last user object for the red color mObject4 TransColor ColorTranslator ToOle Color Red mObject4 Transparent true fe Set a fifth user object on layer 3 to make sure defaults settings are used Should be the same as 3 w title offset mObjectS5 mLayer3 New
28. e Ge ee Ee ee 28 UserMor ZoomLayers O SEIU OTN Ee eo ek ee ek ek ek Dk eek eck el De De De ek atl ee ea 31 CAD FindItemLonLat x y Double ICadObj Function see Bes sae Ge Ve SR ES EE Ee ee Bee EERS GENE 31 CAD FindItemScreen x y Integer ICadObj FUN ction iese esse ese ee RR Re ee Re 31 CAD FindltemClos FuncHO testes ees sees sees be Ge Ee ee og ve eg Eg ee Rek 32 CAD FindItemFirst x y Double Option Integer ICadObj FunCHON esse esse esse ee ee ee ee ee 32 CAD FindiigmNextQ1CadOby FUR to ed eee ek en ee eee 33 AutoQueryStr Stem CP ROD ERY ate icles eae bia ciel DSe bales talca bles talents ee Ge de de Ee Ge EE EE let us Ala 33 Modifications regarding Expired Evaluation Licenses esse esse esse eg ee ee bie bees be Ge Ge ee eke Ee 33 FindStreetFirst Block Streetl Street2 City State String X Y Radius Double String 34 GeoFindFirst s SHina trin es ee bens veal eg ee ee ee niet MR oit 36 Phone Re a Info String PROP Ty EE ds de de Gee ERGE EG EE Ro deed abba ia 36 MapPropertics RoadLabelSpacing Integer Property s sssssssscseccsesnnoennesenatennvennsdanssenncenssenteasedeenseess 38 MapProperties GrabPanMode Boolean Property seeeceescsseceseeessecseeeescecseecseeeseeeseeesseeeneeeneeees 38 MapProperties GrabPanDelay Integer PLO erty cies cvernsssenspeyssunctaneroantaverenennvenbauareebeneanneranebenabenstias 38 MapProperties MapRotation Double Property sesse esse esse ee AA Re Re AA ee ee ee 38 MapProperties Zoo
29. fice building or office park 4 D64 AL 40 Amusement center 5 D65 IN 41 Government center 6 D66 42 Other employment center 7 D67 AL 43 Stadium TANA NEW 8 D70 44 Tower major category used alone when minor category could not be determined 9 D71 45 Lookout tower 6 D80 46 Open space major category used alone when the minor category could not be determined D81 RA AL 47 Golf course D82 IN AL 48 Cemetery D83 PK 49 National Park Service land D84 50 National forest or other Federal land D85 PK 51 State or local park or forest D89 PK 52 Local Park Do0 53 Special purpose landmark major category used alone when the minor category could not be determined D91 54 Post office 2 D93 56 Fire Department 3 D94 57 Police Station 4 D95 58 Library 5 D96 59 City Town Hall MapPro80 User Manual Addendum 19 39 6 Reserved 60 7 Reserved 61 8 Reserved 62 9 Reserved 63 8 H10 WP 64 Stream or river H20 WP 65 Canal ditch or aqueduct H30 WP 66 Lake or pond major category used when the minor category could not be determined H40 WP 67 Reservoir H50 68 Bay estuary gulf sound sea or ocean H60 69 Gravel pit or quarry filled with water H81 70 Glacier Reserved 71 Reserved 72 9 1 Reserved 73 2 Reserved 74 3 Reserved 75 4 Reserved 76 5 Reserved 77 6 Reserved 78
30. gment that gets labeled Spacing is a function of the Screen Dpi setting which is graphic card dependant on standard monitors about 96dpi So a factor of 2 means that grids are about 2 inches square For example if the screen was 6 inches square there would be a total of 9 grids 3x3 If a street appeared in every single grid one would get a maximum of 9 labeling opportunities of course label collision detection might reduce this number of street labels placed The default value is 2 MapProperties GrabPanMode Boolean Property A new zoom behavior was introduced to MapPro80 When this property is TRUE if the user left clicks on the map and holds down the mouse button for N milliseconds then the cursor changes to a small hand and the user may pan the map in the desired direction Releasing the mouse button repaints the map at the new location If the user clicks and moves the mouse within the N millisecond delay then the zoom rectangle appears that allows the user to zoom into a specified area as before The delay time is 300 milliseconds and may be customized by the control s property MapProperties GrabPanDelay The default value of this property is FALSE MapProperties GrabPanDelay Integer Property Sets the delay time in milliseconds before switching from the standard Zoom window mode to the grab and pan mode when the user clicks the left mouse button on the map also see the property MapProprties GrabPanMode
31. ior to closing the dialog Search for a Landmark Landmarks Enter Landmark Name State rockland MA 0 D43 Rockland drSt High School Rockland MA D43 Rockland Senior High Rockland MA D43 Super Kids Of Rockland Hathetly MA 081 Rockland Goll Course Rockland MA D81 Rockland Golf Course Rockland MA H31 Rockland GC Ponde Rockland MA H31 Rockland GC Ponds Rockland MA H41 Abington Rockland Reservoir Hathesly MA H41 Abington Rockland Reservoir Hatherly MA Found 9 heme Dek Selected Peirt on Close Cox To search for a Landmark enter part of the Landmark name followed by a comma and a two letter space abbreviation 1 and press Find 2 A sub string search is performed based on the portion of the name and within the state you specified For example if you specified rockland MA all landmarks that contain rockland in their name and are located in MA will be returned 3 If on the other hand you spacified rock MA then a lot more landmarks would be returned i e all landmarks in MA with rock in their name It is is also possible to search the entire database all states for a landmark by specifying for the state name That however is not recommended because such a search would take a significant length of time VB Net Example Private Sub Button66_Click ByVal sender As System Object ByVal e As System EventArgs Handles Button66 Click
32. l match the criterion Note Each street segment that is found matching the criteria is placed in a list Object that is created and can be used by the user to retrieve all matches found The first match in the list object is returned by the function as a tab delimited string which contains the following information Block iStreetlPlacelPostalPlacelMCDICountylStatelZipCodelCountrylLonll at See the ParseTabField for more details If a cross street search is specified a single match should be returned if found and is returned by the function call The rest of the matches of the search are retrieved by calling the FindStreetNext function of the OCX VB Net Example Private Sub Buttonl64 Click ByVal sender As System Object ByVal e As System EventArgs Handles Buttonl64 Click kk Find StreetFirst Next Looking for a single Address Dim mBlock mStri mStr2 mCity mState mResult As String Dim mLon mLat mRadius x y As Double Dim i As Integer Set some initial parameters mBlock 245 MapPro80 User Manual Addendum 34 39 End Sub Private mStrl Summer Street mStr2 WY mCity Boston mState MA mLon 71 1 mLat 42 4 mRadius 10 i 0 L Zoom in and Mark the center AxMapProl GotoPoint mLon mLat AxMapProl Miles 2 AxMapProl Cad Marker mLon mLat AxMapProl Cad GetMarker 14 AxMapProl Cad Text mLon mLat Search Center Set the color for the next CAD text Objects Ax
33. lyphs of any size they want The only stipulation is that all bitmaps are the same size and they are rectangular The lower left pixel color is of each individual glyph is used as the transparent color Here is the build in bitmap containing all the default glyphs Depending on which Landmarks are being used TANA or GNIS here are the Col row position of each Glyph in the Glyph file that would be used For example when using the TANA Landmarks campgrounds CFCC D28 would be displayed using the glyph in col 2 row 2 of the Glyphs bitmap i e when using the default bitmap above a green rectangle with the 11 Along the same lines when using the GNIS database Hospitals would be displayed using the glyph in col 3 row 5 of the Glyphs bitmap i e when using the default bitmap above a green rectangle with the 23 Because the mapping of the Landmark categories is very different in the TANA and the GNIS databases it is recommended that the user creates a couple of different Glyph bitmaps one for each database and then select each in their code depending on which database is used A sample Glyphs bitmap for use with the GNIS Landmarks database is provided as guidance but the user is urged to create their own glyphs MapPro80 User Manual Addendum 17 39 I Location of Glyphs in bitmap for the TANA09Q4 Dynamap Dataset Note that not ALL CFCC categories are available in the Landmarks file The CFCC for those in the da
34. mOverPixels Integer Property risk stss Ee REEeeE GR K Rek GER KG GES ARK Ge BROER de essensen ER GREG Gee 39 UserMegr ExcludeNonvisFromExtents boolean PrOPETYV sissies esse ese ee ee Re ee Re Re ee 39 UserMgr Layer n ExcludeNonvisFromExtents boolean PropeTtY iss sesse esse ee ee ee 39 MapPro80 User Manual Addendum 2 39 A Modifications to Landmark searching The following modification was made to the ExecLandMark dialog If only a specific general category of Landmarks are of interest then the appropriate category string is appended at the end of the search string following the gt symbol The category string to be used depends on which landmark database is selected with the Landmark Source property See section on LandmarkSource For example if LandmarkSource 0 then one of the two letter TANA categories can be used e g rockland MA gt AL if LandmarkSource 1 then one of the GNIS category strings can be used e g rockland MA gt School The same applies i when using the ExecSearch dialog with the Option to search for Landmarks ii when using the FindLandmarkFirst or FindLandmarkList functions Note that when using the TANA Landmarks database with the TANA09Q4 dataset Based on Dynamap data and FindLandMarkFirst or FindLandMarkList the original method of specifying the CFCC category as theFilter string may also be used When using the TANA1102 data and later based on Multinet
35. numerated variable that can take the following values Note that as you can see below the scale of Magnitude is approximate The Miles property can be used for more accurate scaling Index Enumerated Miles value 0 1000_00 965 58 miles property setting 1 0500_00 482 79 miles property setting 2 0300_00 289 67 miles property setting 3 0200_00 193 12 miles property setting 4 0100_00 96 56 miles property setting 5 0050_00 48 28 miles property setting 6 0030_00 28 97 miles property setting 7 0020_00 19 31 miles property setting 8 0010_00 9 66 miles property setting 9 0005_00 4 83 miles property setting 10 0003_00 2 9 miles property setting 11 0002_00 1 93 miles property setting 12 0001_00 0 97 miles property setting 13 0000_50 0 48 miles property setting 14 0000_30 0 29 miles property setting da 0000 20 0 19 miles property setting 16 0000 10 0 1 miles property setting 17 0000_05 0 05 miles property setting 18 M0000 03 0 03 miles property setting New 19 M0000 02 0 02 miles property setting New 20 M0000 01 0 01 miles property setting New VB Net Example Private Sub Button125_Click ByVal sender As System Object ByVal e As System EventArgs Handles Button125 Click Routine to list the Built in preset scale magnitudes Dim i As Integer Dim smag As String Dim MyEnumVal As MapPro80 TxMagnitude For i 0 To
36. og Once a Place is specified and the search is completed the user is presented with a listbox containing the retrieved matches Selecting one of the listbox choices presented by double clicking will center the viewport at the Lon Lat of the selected Place centroid Result contains the internal unparsed string returned by the search engine corresponding to the item the user selected from the list of returned results prior to closing the dialog MapPro80 User Manual Addendum 7139 Search for City Town Place Ex Place Place City or Place State LemontJL Find Lemont IL 60439 Found 1 items V Mark Selected Point on Close Ok Cancel Entering a place name followed by an asterisk wildcard will find all places that contain the specificed string otherwise an exact match search is performed For example specifying Lemont IL will return just an exact match of Lemont IL 60439 Entering Lem IL will return two hits Lemont IL 60439 and Lemmon IL 62590 VB NET Example Private Sub Button72 Click ByVal sender As System Object ByVal e As System EventArgs Handles Button72 Click Dim sRes As String Test ExecPlac AxMapProl ExecPlace ref sRes End Sub ExecPOI Result String Procedure This is the same as calling the ExecSearch dialog with Option 4 The difference is that calling it this way opens it as a stand alone dialog
37. ow access to Street Level data or return null strings as the result of search operations At any point the developer could use the OCX function DaysLeft to determine if the evaluation period was expired but that was not immediately evident from the behavior of the OCX MapPro80 User Manual Addendum 33 39 An appropriate expiration message is now displayed when non visual instances are used to render maps DirectDraw DirectView and the results of any programmatically initiated searches now return each field with the string Expired FindStreetFirst Block Street1 Street2 City State String X Y Radius Double String Initiates a substring search for the specified street and optional cross street optional address center of search LonLlat and search radius miles and optional state specifier The complete list of parameters passed to the function are Block Street Street1 Street name Street2 Optional cross street name City City Name State Two letter state name abbreviation X Y Center of search Lon Lat Radius Search radius miles Tf these values are zero then a City State search is done first internally and the results are used as the center of search similar to what is done when the built in search dialog is used The search performed is a sub string search so if Pri is specified as the street name for example then streets with hames like Princeton Prime Entrprise etc wil
38. ow and click on OK Serial Code private void button23_Click object sender EventArgs e Set the string to be displayed and disable the Internet and Later Options axMapPro1 PhoneRegInfo 1This information will be displayed in the registration dialog as part of Step 1 when registering by phone Only the Internet registration option is disabled Please Call 1 888 777 6666 to register this product And this would be the info displayed in Step 2 e g you will be provided a Serial Registration Code Open the Registration dialog to test the strings axMapPro1 ExecRegister 1 And this is what the Register by Phone dialog should look like m p vomo ENE Registration by Phone This information will be displayed in the registration dialog as part of Step 1 when registering by phone Only the Internet registration option is disabledPlease Call 1 888 777 6666 to register this product Product Code 1297 4044 4 And this would be the info displayed in Step 2 e g you will be provided a Serial Registration Code Enter your serial code below and click on OK Serial Code Ok MapPro80 User Manual Addendum 37 39 MapProperties RoadLabelSpacing Integer Property The screen is divided into grids and one unique label is allowed per grid Roads are typically ordered from left to right Bottom to top and the first segment encountered if unique is the se
39. rather than as part of a tabbed dialog Refer to the explanation of the ExecSearch dialog for details Result contains the internal unparsed string returned by the search engine corresponding to the item the user selected from the list of returned results prior to closing the dialog ExecStreet Result String Procedure Presents user with a street search dialog shown below Note that this dialog and its behavior are the same as the dialog invoked when ExecSearch is called with Option 0 However when opened through this call the dialog is stand alone and not part of a tabbed dialog It also does not provide MapPro80 User Manual Addendum 8 39 the user the opportunity to specify their own caption for the dialog Once a street is specified and the search is completed the user is presented with a listbox containing the retrieved matches Selecting one of the listbox choices presented by double clicking or highlighting it and clicking OK will center the viewport at the Lon Lat of the selected street segment Result contains the internal unparsed string returned by the search engine corresponding to the item the user selected from the list of returned results prior to closing the dialog Street Address ff street city state zip Cross Street 100 merrimack street Lowell ma SA Find 100 E Merrimack SE Lowell MA 01852 100 Merrimack St One Way W Lowell M 01852 100 Merrimack St One Way W Lowell MA 01852 10
40. rks axMapProl MapProperties LandmarkSource MapPro80 TxLandmark tmTANA Specify a Glyphs bitmap file to use axMapProl MapProperties LandmarkGlyphFilename c mappro80 landSym bmp Set Both Glyphs and Text Scale to 1 0 mile axMapProl MapProperties LandmarkGlyphScale 1 0 axMapProl MapProperties LandmarkTextScale 1 0 axMapProl Redraw LandmarkGlyphFile String Property Specifies the bitmap file that contains the glyphs to be used for identifying Landmark locations on the map If no file is specified then the built in default glyphs which are simply small rectangles of different colors are used A full file spec may be used If ONLY a file name is specified then the file is assumed to be in the local folder where the application was executed from The specified glyphs file may be of BMP or GIF format and it is a single bitmap with a grid of 9x9 individual bitmaps for the Landmark categories embedded in it The built in bitmap uses simple representations for each Landmark glyph i e a green rectangle with a number in it that denotes its position in the glyphs matrix see glyphs bitmap below The size of each individual glyph automatically calculated based on the size of the overall bitmap the program divides the width height of the glyphs bitmap image by 9 to get the size of each MapPro80 User Manual Addendum 16 39 individual glyph so the user may actually define and use g
41. s lter s LandmarkFilter EventArgs e Dynamap Data IN RO School 14 39 LandmarkGlyphScale Double Property Specifies the scale miles below which the glyphs associated with the landmarks selected to be rendered will be visible The default value is 0 25 mi Note however that there is a built in upper value for visibility for the Landmarks layer of 1 0 miles so no landmarks info is visible above 1 0 mile Also it should be noted that for the text to be visible the glyph of the Landmark has to be visible as well so the user must make sure that LandmarkGlyphScale gt LandmarkTextScale C Example private void menuItem366 Click object sender EventArgs e listBoxl Items Clear Select TANA LandMarks axMapProl MapProperties LandmarkSource MapPro80 TxLandmark tmTANA Specify a Glyphs bitmap file to use axMapProl MapProperties LandmarkGlyphFilename c mappro80 landSym bmp Set Both Glyphs and Text Scale to 1 0 mile axMapProl MapProperties LandmarkGlyphScale 1 0 axMapProl MapProperties LandmarkTextScale 1 0 axMapProl Redraw LandmarkTextColor OleColor Property Specifies the font color to be used for displaying the string name associated with each landmark when the tmGNIS option is selected and the GNIS landmarks database is used This has no effect when using the tmTANA landmarks database because those landmarks have
42. tabase is bolded in the table below and the string that needs to be passed to the property MapProperties LandmarkFilter to select that landmark category is displayed next to it Col Row CFCC Description Major and minor categories unknown Military Installation Base yard or depot used by the U S Army Navy Air Force Marines he Coast Guard or the National Guard With the exception of the 1 DOO Coast Guard which is administered by the Department of Transportation and the National Guard which is administered by states these areas are administered by the U S Department of Defense 2 D10 AL 2 Military installation or reservation major category used alone 3 p20 3 Multi household or transient quarters major category used alone when the minor category could not be determined 4 D21 4 Apartment building or complex 5 D22 5 Rooming or boarding house 6 D23 6 Trailer court or mobile home park 7 D24 7 Marina 8 D25 8 Crew of vessel area 9 D26 9 Housing facility for workers D27 10 Hotel motel resort spa hostel YMCA or YWCA D28 11 Campground D29 12 Shelter or mission D30 13 Custodial facility major category used alone when the minor category could not be determined D31 IN AL 14 Hospital D32 15 Halfway house D33 16 Nursing home retirement home or home for the aged D34 17 County home or poor farm D35 18 Orphanage 1 D36 19
43. the 4 digit category can be used instead of the CFCC Look at the documentation of the FindLandMark First in this document for more details C Example private void menulteml71 Click object sender EventArgs e Using the TANA09Q4 Dynamap Dataset listBoxl Items Clear axMapProl MapProperties LandmarkSource MapPro80 TxLandmark tmGNIS This call would work for LandmarkSource tmGNIS all Landmarks with a School it its name and All CFCCs since Option string s axMapProl FindLandmarkFirst Boston MA gt School 71 05 42 34 2 0 r wee while s null listBoxl Items Add s s axMapProl FindLandmarkNext axMapProl FindLandmarkClose listBox3 Items Clear axMapProl MapProperties LandmarkSource MapPro80 TxLandmark tmTANA This call would work for LandmarkSource tmTANA all Landmarks with a School it its name and those with CFCC D43 s axMapProl FindLandmarkFirst Boston MA 71 05 42 34 5 D43 while s null listBox3 Items Add s s axMapProl FindLandmarkNext axMapProl FindLandmarkClose MapPro80 User Manual Addendum 3 39 B Modifications to the Magnitude property array new entries 18 19 and 20 Magnitude TxMagnitude Property This property controls the scale of the map in the viewport When the magnitude property is set the value of the internal Scale property changes as well Magnitude is an e
44. xample the screen shown below presents the results for all ZipCodes in the 018 area The search was done by typing 018 as the criterion Result contains the internal unparsed string returned by the search engine corresponding to the item the user selected from the list of returned results prior to closing the dialog Search for a ZipCode Postal Code Zip Postal Code Zip Code 018 Find Andover MA 01810 a Ayers Vilage M 01832 Ayres Ciy MA 01852 Ballardvale MA 01810 Belwdere M 01952 Bilenca MA 01821 Bleachery M 01852 Boeford Stahon M 01845 Bradford M 01935 Brock sde Stehan M4 01896 Burirgton M 01803 Butts Crossing MA 01876 Found 137 items T Maik Selected Point on Close Ok Cancel C Example private void button36_Click_l object sender EventArgs e string mResult axMapPro1 ExecZipcode ref mResult axMapProl ExecZipcode MapPro8 amp 0 User Manual Addendum 10 39 D New Additions to the MapProperties Interface RoadInnerColor index integer Integer Property Sets the color of roads for the road type identified by index Note that in some development environments indexed properties cannot be accessed directly and the helper functions _getRoadInnerColor i and _setRoadInnerColor i need to be used instead Where Index 0 Interstate Highways 1 US Highways 2 Secondary Highways State highways County Road etc
45. y iiie esse esse ese se ee AA Re AA ee RA n renen se nnee 12 LandmarkFilter widesting Property ee se ER RS EER Ge Ge Re ER Ge Re ER ee Ge Ge De ee ER GE RGN 13 LandmarkGlyphScale Double Property esse ese se ee Re AR RA AR ee Re ee 15 LandmarkTextColor OleColor PropertY ssseskekebekese bek ek ek RR NR Re be De ke ek Ee RR eke ee bek be Dee ed 15 LandmarkTextScale Double Property scciccsicascsssssscdassscsaisncsancsaspasonszanssassnonsoansonnsasopannnnsansaasnenancans 16 LandmarkGlyphFile String Property scscstenenneeniasieeaadannae eens 16 I Location of Glyphs in bitmap for the TANA09Q4 Dynamap Dataset ees see eee ee 18 ID Location of Landmark Glyphs in bitmap for newer TANA Multinet datasets 21 IN Location of Glyphs for the GNIS Landmarks database 1 W Wu Wu u u u nsssseeseresevserseresneseeereenen renser 24 E Changes to Results Returned by Certain Functions 0 0 0 0 esse ese ee ee ee ee AR Re ee 27 MapPro80 User Manual Addendum 1 39 FindStateAtPoint X Y Double String FUNCtION Lee eee eeecceeeseeesseeeeeeecesneeessneeeeeeessneeensneessaes 27 FindCountyAtPoint X Y Double String Function Lee eee ese ese see ee Re ee ee ee ee 27 F Changes Enhancements to Other Functions or New Functions Added ceeeeseeseeesreeeneeeeees 28 FindClosestCityFirst X Y Rad Pop Num Opt string FUNCHON esse ese ee ee RA Re Ee 28 User ZoomExterts Functions EE SE ER EER ER EER EE GE Ee GE Ee GR ee Ge Re Ge Re e
Download Pdf Manuals
Related Search
Related Contents
BK8500, BK8502, BK8510, BK8512, BK8514, BK8518, BK8520 取扱説明書 Untitled - Realxenon.ru - Billiger.de Targus AMB09US Mouse User Manual Android INSTRUCCIONES PARA EL INSTALADOR Panasonic WV-Q151S flat panel wall mount Copyright © All rights reserved.
Failed to retrieve file