ApolloSearchResult

Available for:Map Panel

ERDAS APOLLO search result item

Extends

Methods

Name Summary
addToMap

Adds current item to map using method specified in config

get_geoJSON

Returns geoJSON representation of the search result

getGeoJSON

Returns geoJSON representation of the search result

zoom

Zoom the map to the extents of a given Apollo item

Methods • Details

addToMap(config, callback, errback) → {void}

Available for:Map Panel

Adds current item to map using method specified in config

Parameters

Name Type Description
config Object
{
 "type": String
}
optional

Configuration options

type optional

type of a service to use (accepted values: "wms", "wmts")

callback function optional

Callback executed on the matched items

errback function optional

callback executed if operation fails

Returns

TypeDescription
void

get_geoJSON() → {Object}

inherited deprecated
Available for:Map Panel

Returns geoJSON representation of the search result

Returns

TypeDescription
Object

geoJSON Feature

getGeoJSON() → {Object}

inherited
Available for:Map Panel

Returns geoJSON representation of the search result

Returns

TypeDescription
Object

geoJSON Feature

zoom(callback, errback) → {void}

inherited
Available for:Map Panel

Zoom the map to the extents of a given Apollo item

Parameters

Name Type Description
callback function optional

Callback executed on the matched items

errback function optional

callback executed if operation fails

Returns

TypeDescription
void