Oskari API documentation

Select request

admindown-arrow
frameworkdown-arrow
mappingdown-arrow
uidown-arrow

GetFeatureInfoRequest RPC

Display feature info box.

Use cases

  • show feature info in certain point

Description

Requests feature info for the given spot on the map to be shown.

Parameters

(* means the parameter is required)

Name Type Description Default value
\* lon Number x coordinate of the feature info location
\* lat Number y coordinate of the feature info location

Examples

Display feature info box om map

var lonlat = [411650.70779123, 6751897.3481153];
var sb = Oskari.getSandbox();
sb.postRequestByName('MapModulePlugin.GetFeatureInfoRequest', lonlat);