Changeset 5289
- Timestamp:
- 11/27/07 13:20:18 (9 months ago)
- Files:
-
- trunk/openlayers/apidoc_config/Menu.txt (modified) (5 diffs)
- trunk/openlayers/doc_config/Menu.txt (modified) (5 diffs)
- trunk/openlayers/lib/OpenLayers/Layer/Text.js (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/apidoc_config/Menu.txt
r4223 r5289 51 51 Group: Control { 52 52 53 File: Control ( no auto-title,OpenLayers/Control.js)53 File: Control (OpenLayers/Control.js) 54 54 File: ArgParser (no auto-title, OpenLayers/Control/ArgParser.js) 55 File: ZoomToMaxExtent (no auto-title, OpenLayers/Control/ZoomToMaxExtent.js) 56 File: OverviewMap (no auto-title, OpenLayers/Control/OverviewMap.js) 55 File: Attribution (no auto-title, OpenLayers/Control/Attribution.js) 57 56 File: DragFeature (no auto-title, OpenLayers/Control/DragFeature.js) 58 57 File: DragPan (no auto-title, OpenLayers/Control/DragPan.js) … … 61 60 File: KeyboardDefaults (no auto-title, OpenLayers/Control/KeyboardDefaults.js) 62 61 File: LayerSwitcher (no auto-title, OpenLayers/Control/LayerSwitcher.js) 62 File: ModifyFeature (no auto-title, OpenLayers/Control/ModifyFeature.js) 63 63 File: MouseDefaults (no auto-title, OpenLayers/Control/MouseDefaults.js) 64 64 File: MousePosition (no auto-title, OpenLayers/Control/MousePosition.js) … … 66 66 File: Navigation (no auto-title, OpenLayers/Control/Navigation.js) 67 67 File: NavToolbar (no auto-title, OpenLayers/Control/NavToolbar.js) 68 File: OverviewMap (no auto-title, OpenLayers/Control/OverviewMap.js) 68 69 File: Panel (no auto-title, OpenLayers/Control/Panel.js) 70 File: PanZoom (no auto-title, OpenLayers/Control/PanZoom.js) 69 71 File: PanZoomBar (no auto-title, OpenLayers/Control/PanZoomBar.js) 70 72 File: Permalink (no auto-title, OpenLayers/Control/Permalink.js) … … 72 74 File: SelectFeature (no auto-title, OpenLayers/Control/SelectFeature.js) 73 75 File: ZoomBox (no auto-title, OpenLayers/Control/ZoomBox.js) 74 File: PanZoom (OpenLayers/Control/PanZoom.js)76 File: ZoomToMaxExtent (no auto-title, OpenLayers/Control/ZoomToMaxExtent.js) 75 77 } # Group: Control 76 78 … … 79 81 Group: Feature { 80 82 81 File: Feature (no auto-title, OpenLayers/Feature.js) 83 File: Feature (OpenLayers/Feature.js) 84 File: Vector (no auto-title, OpenLayers/Feature/Vector.js) 82 85 File: WFS (no auto-title, OpenLayers/Feature/WFS.js) 83 File: Vector (no auto-title, OpenLayers/Feature/Vector.js)84 86 } # Group: Feature 85 87 trunk/openlayers/doc_config/Menu.txt
r4223 r5289 53 53 File: Control (OpenLayers/Control.js) 54 54 File: ArgParser (no auto-title, OpenLayers/Control/ArgParser.js) 55 File: ZoomToMaxExtent (no auto-title, OpenLayers/Control/ZoomToMaxExtent.js) 56 File: OverviewMap (no auto-title, OpenLayers/Control/OverviewMap.js) 55 File: Attribution (no auto-title, OpenLayers/Control/Attribution.js) 57 56 File: DragFeature (no auto-title, OpenLayers/Control/DragFeature.js) 58 57 File: DragPan (no auto-title, OpenLayers/Control/DragPan.js) … … 61 60 File: KeyboardDefaults (no auto-title, OpenLayers/Control/KeyboardDefaults.js) 62 61 File: LayerSwitcher (no auto-title, OpenLayers/Control/LayerSwitcher.js) 62 File: ModifyFeature (no auto-title, OpenLayers/Control/ModifyFeature.js) 63 63 File: MouseDefaults (no auto-title, OpenLayers/Control/MouseDefaults.js) 64 64 File: MousePosition (no auto-title, OpenLayers/Control/MousePosition.js) … … 66 66 File: Navigation (no auto-title, OpenLayers/Control/Navigation.js) 67 67 File: NavToolbar (no auto-title, OpenLayers/Control/NavToolbar.js) 68 File: OverviewMap (no auto-title, OpenLayers/Control/OverviewMap.js) 68 69 File: Panel (no auto-title, OpenLayers/Control/Panel.js) 70 File: PanZoom (no auto-title, OpenLayers/Control/PanZoom.js) 69 71 File: PanZoomBar (no auto-title, OpenLayers/Control/PanZoomBar.js) 70 72 File: Permalink (no auto-title, OpenLayers/Control/Permalink.js) … … 72 74 File: SelectFeature (no auto-title, OpenLayers/Control/SelectFeature.js) 73 75 File: ZoomBox (no auto-title, OpenLayers/Control/ZoomBox.js) 74 File: PanZoom (no auto-title, OpenLayers/Control/PanZoom.js)76 File: ZoomToMaxExtent (no auto-title, OpenLayers/Control/ZoomToMaxExtent.js) 75 77 } # Group: Control 76 78 … … 80 82 81 83 File: Feature (OpenLayers/Feature.js) 84 File: Vector (no auto-title, OpenLayers/Feature/Vector.js) 82 85 File: WFS (no auto-title, OpenLayers/Feature/WFS.js) 83 File: Vector (no auto-title, OpenLayers/Feature/Vector.js)84 86 } # Group: Feature 85 87 trunk/openlayers/lib/OpenLayers/Layer/Text.js
r5028 r5289 9 9 * 10 10 * Class: OpenLayers.Layer.Text 11 * Tab seperated values file parsing code which creates a markers layer. 12 * 13 * Inherits from; 11 * This layer creates markers given data in a text file. The <location> 12 * property of the layer (specified as a property of the options argument 13 * in the <OpenLayers.Layer.Text> constructor) points to a tab delimited 14 * file with data used to create markers. 15 * 16 * The first row of the data file should be a header line with the column names 17 * of the data. Each column should be delimited by a tab space. The 18 * possible columns are: 19 * - *point* lat,lon of the point where a marker is to be placed 20 * - *lat* Latitude of the point where a marker is to be placed 21 * - *lon* Longitude of the point where a marker is to be placed 22 * - *iconURL* URL of marker icon to use. 23 * - *iconSize* Size of Icon to use. 24 * - *iconOffset* Where the top-left corner of the icon is to be placed 25 * relative to the latitude and longitude of the point. 26 * - *title* The text of the 'title' is placed inside an 'h2' marker 27 * inside a popup, which opens when the marker is clicked. 28 * - *description* The text of the 'description' is placed below the h2 29 * in the popup. this can be plain text or HTML. 30 * 31 * Example text file: 32 * (code) 33 * lat lon title description iconSize iconOffset icon 34 * 10 20 title description 21,25 -10,-25 http://www.openlayers.org/dev/img/marker.png 35 * (end) 36 * 37 * Inherits from: 14 38 * - <OpenLayers.Layer.Markers> 15 39 */ … … 18 42 /** 19 43 * APIProperty: location 20 * {String} store url of text file - this should be specified in the21 * "options" hashtable. Can not be changed once passed in.44 * {String} URL of text file. Must be specified in the "options" argument 45 * of the constructor. Can not be changed once passed in. 22 46 */ 23 47 location:null, … … 36 60 37 61 /** 38 * Constructor: OpenLayers.Layer.Text39 * Create a text layer.40 *41 * Parameters:42 * name - {String}43 * options - {Object} Hashtable of extra options to tag onto44 * the layer. Must include "location"property.45 */62 * Constructor: OpenLayers.Layer.Text 63 * Create a text layer. 64 * 65 * Parameters: 66 * name - {String} 67 * options - {Object} Object with properties to be set on the layer. 68 * Must include <location> property. 69 */ 46 70 initialize: function(name, options) { 47 71 OpenLayers.Layer.Markers.prototype.initialize.apply(this, arguments); … … 59 83 }, 60 84 61 /**85 /** 62 86 * APIMethod: destroy 63 87 */ … … 199 223 CLASS_NAME: "OpenLayers.Layer.Text" 200 224 }); 201 202
