HSLayers.Layer.SearchParser (class)

Vector layer for displaying results of searching

class HSLayers.Layer.SearchParser()

Example usage: `` var search = new HSLayers.Layer.SearchParser(“Name”,options); ``

Properties

default: {extractStyles: true, extractAttributes: true}

HSLayers.Layer.SearchParser.createList

HSLayers.Layer.SearchParser

create list of features

HSLayers.Layer.SearchParser.defaultStyleMap

HSLayers.Layer.SearchParser

default style for found objects

HSLayers.Layer.SearchParser.EVENT_TYPES
Type :[{String}] (static)

HSLayers.Layer.SearchParser

EVENT_TYPES of this layer * responded - this.parse was called as onreadystatechanged function

HSLayers.Layer.SearchParser.formatOptions
Type :Object (static)

HSLayers.Layer.SearchParser

options used for OpenLayers.Format.KML default: {extractStyles: true, extractAttributes: true}

HSLayers.Layer.SearchParser.iconCls
Type :String (static)

HSLayers.Layer.SearchParser

icon class for Ext.grid.GridPanel

HSLayers.Layer.SearchParser.showDescription
Type :Boolean (static)

HSLayers.Layer.SearchParser

show features description in the list

HSLayers.Layer.SearchParser.zoomToFeatures
Type :Boolean (static)

HSLayers.Layer.SearchParser

zoom to features

Methods

HSLayers.Layer.SearchParser.search(url, zoomToFeatures, showDescription)

perform search request and parse data

Arguments:
  • url (String) –
  • zoomToFeatures (Boolean) –
  • showDescription (Boolean) –
HSLayers.Layer.SearchParser.parse(request, zoomToFeatures, showDescription)

parse the search reesponse

Arguments:
  • request (HTTPRequest) –
  • zoomToFeatures (Boolean) –
  • showDescription (Boolean) –
HSLayers.Layer.SearchParser.insertToTarget(panel)

insert the resulting Ext.Panel to this.target

Arguments:
  • panel (Ext.Container) –

Main Menu


Table Of Contents

Previous topic

HSLayers.Layer.OWS (class)

Next topic

HSLayers.Layer.TreeLayer (class)

This Page