ID of div to contain the map.
ID of div to contain draggable location icon
ID of div to contain the navigation interface
None. If not defined, there will not be a navigation window.
ID of div to contain the login interface
None. If not defined, there will not be a login window.
ID of div to contain the language interface
None. If not defined, there will not be a language selection window.
|selectDiv||ID of div to contain the database search interface. Typically this div will float in the middle of the screen.||"select_container". It is strongly recommended that you use the default since styling is set for this div id.|
Latitude to use to initially center the map
42.369707 (Amherst, MA)
Longitude to use to initially center the map
-72.516051 (Amherst, MA)
Initial map zoom level
|mapType||Initial map type. Options are "ROADMAP","TERRAIN","HYBRID", and "SATELLITE". Options are case-sensitive||"ROADMAP"|
User to use until someone authenticates
'' (blank string)
Password to use until someone authenticates
'' (blank string)
Authority level to use until someone authenticates. This only influences what is displayed. It does not authorize changes to the database unless user/password are authorized
Initial language to use
Do the divs have a border around them. This make them look like the other Extjs interface elements. This value is not passed to aLogin or aBlog. They must be set separately.
Array of arrays of titles to associate with information display for uploaded file in various languages. For Eample:
labelArray = new Array();
labelArray['English'] = new Array('label1"...);
labelArray['Dutch'] = new Array('D1'...);
If there are no labels for the language being used then the English labels are displayed.
“Title”,”Creator”, “Creator Dates”, “Media”, “Date”,” Size”, and “Source”. The assumption is that this is English. If you pass an array with any of the values set to ‘’, then the default will be used for that field.
Array of allowed file types given as extension values (“.gif”). Note that the program is case sensitive so you may need to include “.gif” and “.GIF”. File types not in this array can not be uploaded.
'.gif', '.GIF', '.png', '.PNG', '.jpg', '.JPG', '.doc', '.DOC', '.docx', '.DOCX', '.mov', '.MOV', '.wmv', '.WMV'.
If you pass this array, all the defaults are lost so if you want any of these file types, you would have to include them in your array.
|navShadow||Should a drop shadow be added to the navigation window. This allows you to maintain a consistent appearance with the other windows if they have shadows.||False|
|attribution_level||Minimum authority level a user must have in order to see Blog attributions. In some cases privacy may require making the attribution unavailable to most users.||0. Everybody sees the attributions.|
|groups||Will the application use the group feature of MapApp||False. No groups|
|defaultIcon||URL of image to use as location icon when there are no location types.||'http://maps.google.com/mapfiles/kml/paddle/red-stars.png'|
|anchorX||Along the horizontal axis, what point of the icon is placed precisely over the location.||12|
|anchorY||Along the vertical axis, what point of the icon is placed precisely over the location.||24- Combined the default values for anchorX and anchorY cause icon's bottom line to be centered over the location. The icon is always 25x25 pixels in size.|
|instance||Unique value to associate with this instance of the mapAppObject. Required if more than one instance is on the page or multiple pages are using the same database tables but with different data.||''|
|resizeOnGroup||If using groups, when the groups to be displayed change the zoom level is adjusted so all locations are shown.||True|
|resizeOnLoad||When aMapApp3 is loaded, the zoom is adjusted so all locations are shown.||False|
|login||If false, ignores all login capabilities included with aMapApp3. This assumes that page access is completely controlled outside of aMapApp3. This is different that just not providing a login div which suppresses the display but not the functionality which can still be accessed using the API.||True|
|noShow||If true suppresses display of the map and other interface elements of aMapApp3. Would be used if the map should not be displayed at load time. ||False|
|draggable||True if the user can drag the map within the map display area. False if the map can't be dragged. The map display area is always fixed.||True|
|startTab||Initial tab for information window. 0 is the Location tab and 1 is the Files tab.||0|
|imageTab||Initial tab for the file information display. 0 is the description, 1 is the blog and 2 is notes.||0|
|The following relate to searching capabilities.|
|flickr||Are searches of flickr allowed?||False|
Flickr id to use. This limits the flickr search to that account. If blank, there is no restriction.
To find this string you'll need a Flickr account. Then go to Flickr.com and login. Then go to http://www.flickr.com/services/api/explore/?method=flickr.people.getInfo and look under the heading "useful information".
|flickr_api_key||A key string provided by Flickr letting you access the Flickr database. You get the key from Flickr.||None. This must be supplied to use search Flickr.|
|local||To we have a local database search? If using a local search, this property must be sent to a string that is both the name of the file and the name of the function that does the search as in "searchYouTube" requires a file "searchYouTube.php" with a function "searchYouTube". See the section on Searching File Repositories under Localization.||False|
|disk||Can we search local/networked disks?||True|
|The following relate to groups.|
|groupDiv||ID of the div to contain the group interface. The interface is 340px wide and variable height.||None. If not defined, the group interface will not be displayed.|
|currentGroup||Current default. This is the group that new locations would be assigned to.||1 - 1 is a predefined default group that effectively includes everything and everybody.|
|collapsed||Should the group display be initially shown in a collapsed form, i.e., only the title showing.||False|
|The following relate to location types. If the locationTypes array isn't defined, the other settings are meaningless.|
Array of location type arrays. This allows you to categorize the locations. Each location type array contains an index field (starting with 1), the names of the different location types and the address of the icon to use for each type of location. For example:
typeArray = [
The icon reference can be a full http reference or a local reference relative to the application using MapApp. In this case the icons where loaded into a “images” subfolder of the folder than contains our page.
For other languages, use the the locationTypesLabels setting below.
If no array is passed, the user will not be able to classify a location by type.
Array of arrays of alternative labels to use for location types by language. For example
labelArray = new Array();
labelArray['Japanese'] = new Array("j1","j2","j3");
The language tag must match the language label used in the language file (See the sections of languges). If you select a language for which you don't have label, it will default to "English" what are the labels included in locationTypes.
|None. Assumes the labels in locationTypes are English.|
|typeDiv||ID of div to contain the location type display. The interface is 340px wide and variable height.||None. If not defined, the type interface will not be displayed.|
|collapsedTypes||Should the type display interface initial appear collapsed (true) or expanded (false)||False|
|The following relate to document/file/entry types. If the documentTypes array isn't defined, the other settings are meaningless.|
Array of document type arrays. This allows you to categorize uploaded files. Each document type array contains an index field (starting with 1) and the names of the different location types. For example:
typeArray = [
Unlike location types, there are no icon references since no icons are currently displayed based on document types.
If no array is passed, the user will not be able to classify files by type.
Array of Arrays of labels for document types in languages other than English. For example,
doclabelArray = new Array();
doclabelArray['Japanese'] = new Array("j1","j2","j3");
The language tag must match the language label used in the language file (See the sections of languges). If you select a language for which you don't have label, it will default to "English" what are the labels included in documentTypes.
|Assumes labels are in English as defined by documentTypes.|
|docTypeDiv||ID of div to contain the docment type display. The interface is 340px wide and variable height.||None. If not defined, the type interface will not be displayed.|
|collapsedDocTypes||Should the document type display interface initial appear collapsed (true) or expanded (false)||False|
|The following properties are all objects that are passed to other objects within aMapApp3|
|locationConfig||Object used to configure new locations||See Location Configuration Properties|
|loginConfig||Object used to configure new aLogin2 objects||See Login Configuration Properties|
|blogConfig||Object used to configure new aBlog2 objects||See Blog Configuration Properties|
|aViewerConfig||Object used to configure new aViewer objects||See aViewer Configuration Properties|
Note that some of the configuration options for objects used by aMapApp3 are set by aMapApp3. Adding these properties to the configuration objects will have no effect. For example, the blogConfig property of blogAuthority is determined by the authority level of the user in aMapApp3.