Contents
- Index
Theme Keywords
' AMF file Syntax
' Free form text notes must start with a ', others are program commands
' CAPS are required parameters
Title= is displayed on Windows Status
Example: Title=Documentation
menu.path= Name of common menu files - must reside in program directory - default is menus.cfg
Copyright= info is default for JPG Comments
Example: Copyright=©2003 YourMap.com, Marvin Sperlin. All Rights Reserved
DefaultPicShape= Name of file in program directory to save JPG Shape file.
DefaultLinkShape= same as above, but for links.
Example: DefaultPicShape=Mypictures
Example: DefaultLinkShape=Mylinks
CACHEDIR= Cache directory , need "\" before and after
This is the local disk directory where cache files will be stored, and where files will be checked before downloading from the Internet
The directory is always off the Application Start directory
example: If Application Start is = c:\yourmap, then cachedir=\cache\ would result on c:\yourmap\cache
Example: CACHEDIR=\cache\
InetRoot= location of ".." in URLs
Samples:
InetRoot=sperlin
InetRoot=members.xoom.com/msperlin
InetRoot=www.mscomm.com/~msperlin
Select= Start with the pull down list with any of the fields in layer 0
Example: Select=ZIP
AdURL= URL to start in Ad window (above Map overview) and link in About Screen, default=ad.htm
AdURL=http://www.yourmap.com
'
'
Background= File name of jpg, bmp, gif to use as background, default=background.jpg
Example: Background=\activemap\background.jpg
'
'
'
MapBackground=Background color for map - see moColor below
'
'
CheckInetForUpdates= Default Check Internet for Updates if file is in Cache? Yes, No or Ask. Layer's parameter overrides default. In Layer, JPGs from Internet are checked if Yes.
Refresh= Automatic refresh after xx seconds. Don't refresh if there is mouse movement
Example: Refresh=10
'
'
InternetDisplay= - DefaultBrowser: Launch program associated with URLs
' IE: Internet Explorer Instance
' InMap: Webrowser control replaces Map Window
' WebBrowser: Seperate Web Browser window (reused)
' PicInMap: Displays jpg or other image formats in the Map window (zoom to WebBrowser)
' FileOpen: Open a local AMF file in the same Window (does not support http:)
' Sample of fileopen with an amf file and an initial selection:
' InetDisplay=FileOpen,URL='file://movielocs.amf?STATE_CODE=##(states)STATE_ABBR##'
' Sample using DefaultBrowser
' InetDisplay=DefaultBrowser,URL='file://d:/activemap/movielocs.amf'
InetDisplay=DefaultBrowser
'
' 2. map1 layers file name must be lower case on server
' Command must end with a ,
map1.layer=FILENAME,INDEX,Color=color,Style=style,minscale=minscale,maxscale=maxscale,Thumbfield='thumbfield',
' URLField='URLField',xfield=xfield,yfield=yfield,InetDisplay=InetDisplay,CheckInetForUpdates=xxx,POST='postdata',LabelField=fieldname,LabelHeight=9,LabelScale=xxxxxx,Alias='xxxxx',Transparent=True
' FILENAME
' Files can be a local path - c:\local\name
' or http - http://www.site.com/local/name
' DO NOT SPECIFY FILE EXTENSION, they are always .shp
' INDEX
' The number of the layer index
' Color
' Any moColor value
'Black
'Red
'Green
'Blue
'Magenta
'Cyan
'White
'LightGray
'DarkGray
'Gray
'PaleYellow
'LightYellow
'Yellow
'LimeGreen
'Teal
'DarkGreen
'Maroon
'Purple
'Orange
'Khaki
'Olive
'Brown
'Navy
' Style
' Any mostyle value
'SolidFill
'TransparentFill
'HorizontalFill
'VerticalFill
'UpwardDiagonalFill
'DownwardDiagonalFill
'CrossFill
'DiagonalCrossFill
'LightGrayFill
'GrayFill
'DarkGrayFill
'SolidLine
'DashLine
'DotLine
'DashDotLine
'DashDotDotLine
'CircleMarker
'SquareMarker
'TriangleMarker
'CrossMarker
'TrueTypeMarker
' GotoLayer
' if this layer is to be used for the goto function. If on more than 1 layer, last one loaded is used
' minscale
' Minimum scale number the layer will display at - if map scale is less, then layer will not display
' maxscale
' Maximum scale number the layer will display at - if map scale is more, then layer will not display
' Thumbfield
' Thumbfield can contain menu type variables or just a field name
' Hint: Use a variable if it contains a local path
' Examples: (Where xxx is thumbfield or URL, ie: http://)
' Thumbfield='Thumbpic' table has a field called thumbpic, each record would have a
' valid URL in that field, or if not a URL containing //:,
' then field data is joined with image.path and image.ext
' to form a local disk location
' Thumbfield='http://server/##CITY##.htm' for the selected record, get the current CITY name and use
' the resulting URL
'
' URLField
' URLField cannot contain just a field name, but can use Variables for the same result
' A URL field requires that you have a thumbfield (Not 'None') - they can be the same
' URLField can contain menu type variables
' URLField is displayed when the Thumbnail picture is Double-Clicked
' URLField='http://server/##CITY##.htm' for the selected record, get the current CITY name ' and use the resulting URL
' URLField='##URL##' a field called URL contains a valid URL or file path
' xfield
' The name of the field that contains the x location value, such as a Longitude value
' yfield
' The name of the field that contains the y location value, such as a Latitude value
'
' InetDisplay
' Overrides the Default InetDisplay for this layer
' CheckInetForUpdates=Yes or No - Overrides Default setting for this layer
'
' POST
' Form Data to post to a http:// URL, example: POST='StoreDesired=##STORE##'
' Data should be URLEncoded, ie: substitute blanks with +, special characters with % ASCII ' code: Example:
'POST='lat_deg=51&lat_min=00&long_deg=118&long_min=00&place_chosen=places&radius_chosen=5+km+%283+mi%29&order=name_key%2Cregion_code%2Cconcise_order',InetDisplay=IE,
' Note that POST= must use Inetdisplay=IE, InMap, or WebBrowser
'
' LabelField: Name of Label Field in the Layer
' LabelHeight: Percentage of Map1 Extent to size labels
' LabelScale: Minimum scale to display labels
' LabelRotate: Degress to rotate label 1-90
' Note map2 polygons will have their labels rotated 60 degrees
' (ListView=Yes|No) Default=Yes - Display Field in Listview
' Transparent: True or False, applies to Image Layers.
'
' Specify layers in Descending order
' 0 layer last to have it zoomed out 15%
' Files can be local, ie: c:/directory/test
'
' Samples:
' map1.layer=http://../esridata/usa/dtl-st/dtl-st,4,Color=Yellow,
' map1.layer=/esri/esridata/usa/roads,1,Color=Black,
' map1.imagelayer=http://64.150.16.118.hubdist.com/5466,5,minscale=70000000,
' map1.layer=http://hubweb1/marvtest/states,3,minscale=5000000,Color=Green,
' map1.layer=http://64.150.16.118.hubdist.com/quad24dd,4,maxscale=2000000,
' map1.layer=http://64.150.16.118.hubdist.com/kgl06023,3,maxscale=2000000,
' map1.layer=http://hub_exc_1/hubintranet/techservices/counties,4,maxscale=20000000,minscale=500000,Color=LightYellow,
' map1.layer=http://hub_exc_1/hubintranet/techservices/rivers,1
' map1.layer=http://hubweb1/marvtest/storeloc,0,xfield=LONGITUDE,yfield=LATITUDE,InetDisplay=InMap,Thumbfield='CITY',URLField='file://##CITY##'
'
'
map1.imagelayer=http://../gis/world/5466,5
map1.layer=http://../esridata/usa/states,4,Color=LightYellow,
map1.layer=http://../esridata/usa/counties,3,Color=Brown,
map1.layer=http://../esridata/usa/roads,2,Color=Black,
map1.layer=http://../esridata/usa/rivers,1,Color=Blue,
map1.layer=http://../gis/1,0,xfield=LON,yfield=LAT,Thumbfield='SLIDE',URLField='c:\slides\001\##SLIDE##.jpg',Color=Red,Style=SquareMarker,
'
' 3. image layers
' image layers, need file extension and layer #
'
'
'map2 layers
'
' Do not use a file that is being used as a map1 layer accessed via http:
'
'
map2.layer=c:\esri\esridata\usa\roads,0
map2.layer=c:\esri\esridata\usa\states,1,Color=LightYellow,
map2.imagelayer=c:\gis\world\5466,2
'
'
' Image ext and image path are used for thumbnail locations - do not include ending \ as part of image.path
image.ext=jpg
image.path=c:\slides\001
'
' Projection - Used to calculate map scales - currently only Decimal Degrees, UTM or None are supported
Projection=DD
'
' UTMZone - required if Projection = UTM, default to 11
'
'
' ChunkSize - Size in bytes of the Internet download buffer
'
ChunkSize=2048
'
Menu='description'
Special descriptions:
Search Selected Will string selected items
flickr.photo.search=
add jpg
add exif
Program=
Zoom In
Zoom Out
Scale 1:
C&enter
&Select
Layer=x only display menu if this layer is Active
IOnly Display only if Internet connected
Minscale=xxxxxx display item if current scale is > minscale
Maxscale=xxxxxx display item if current scale is < maxscale
IfPointIn=layername(SQL statement) filters menu item display is point within
Note: Menu statement IfPointIn takes presedence over menu.cfg
URL= valid URL, such as as file://, http:// mailto:
note: Menu InetDisplay=Fileopen requires file://, and doesn't support http://
Special URLs
flickr.photo.search=
add jpg
add exif
Program=
Zoom In
Zoom Out
Scale 1:
C&enter
&Select
Examples:
Menu='Google',URL='http://www.google.com?search=##(zip)po_name##',IOnly,IfPointIn=states(state_abbr = 'AK'),Minscale=12000,Maxscale=50000,
Menu='-'
Menu='Zoom In &+'
Menu='Zoom Out &-'
Menu='C&enter Map'
Menu='&Select #n# #f#'
Menu='Search Selected'
Menu='New Window with items selected in current view',URL='Program="yourmap.exe" ?Shape=#x#,#y#,#ml#'
' Separator
'
Menu='-'
Menu='Description',CommonMenu='name'