OpenLayers JavaScript Mapping Library |
OpenLayers. Layer.GMLCreate a vector layer by parsing a GML file. The GML file is passed in as a parameter. Inherits fromSummary
format{OpenLayers.Format} The format you want the data to be parsed with. setVisibility
Set the visibility flag for the layer and hide/show&redraw accordingly. Fire event unless otherwise specified GML will be loaded if the layer is being made visible for the first time. Parameters
|
Set the visibility flag for the layer and hide/show&redraw accordingly.
setVisibility: function( visibility, noEvent )
If layer is visible and GML has not been loaded, load GML, then load GML and call OpenLayers.Layer.Vector.moveTo() to redraw at the new location.
moveTo:function( bounds, zoomChanged, minor )
loadGML: function()
Process GML after it has been loaded.
requestSuccess:function( request )
Process a failed loading of GML.
requestFailure: function( request )