Embedded Editor Developer's Guide

Feedback

The resource feedback allows you to specify how the Embedded Editor behaves when opened in the context from which is it launched. The only mandatory parameters are app_id and app_code.

Table 1. Resource Parameters
Parameter Type Description
app_id String A 20 byte Base64 URL-safe encoded string used for the authentication . You must include an app_id and app_code with every request.

For more information, see Acquiring Credentials.

app_code String A 20 byte Base64 URL-safe encoded string used for the authentication . You must include an app_id and app_code with every request.

For more information, see Acquiring Credentials.

coord String

Comma separated latitude and longitude pair in WGS-84 format of the map position that sets the context for Embedded Editor. The nearest map object to this coordinate is preselected when the user first sees a map.

Example: "coord=46.456,8.2356" (latitude,longitude)

If no coord parameter is set, the device location is used and the browser asks you for permission.

features String Specifies the feedback types shown by the Embedded Editor. If you only specify only one value, the entry page starts directly at the specified feature. The supported values are as follows:
  • address
  • border
  • other
  • place
  • road
  • satellite

Example: &features=road,address,place

The example above enables feedback for roads, house numbers, and places. This makes it possible to send feedback about existing elements (modify, remove) or new elements.

hideLogo - By default the HERE logo is shown on the top right corner of the Embedded Editor page. Specify the hideLogo parameter to hide this logo.
lang String

Defines the language offered by the Embedded Editor.

The supported languages are:
  • "en" : English (Great Britain), default
  • "cs-CZ": Czech (Czech Republic)
  • "de-DE": German (Germany)
  • "el-GR": Greek (Greece)
  • "es-ES": Spanish (Spain)
  • "fr-FR": French (France)
  • "hu-HU": Hungarian (Hungary)
  • "it-IT": Italian (Italy)
  • "nl-NL": Dutch (Netherlands)
  • "ms-MY": Malay (Malaysia)
  • "pl-pl": Polish (Poland)
  • "pt-BR": Portuguese (Brazil)
  • "ro-RO": Romanian (Romania)
  • "ru-RU": Russian (Russia)
  • "sk-SK": Slovak (Slovakia)
  • sv-SE": Swedish (Sweden)
  • "th-TH": Thai (Thailand)
  • "tr-TR": Turkish (Turkey)
  • "zh-CN": Chinese (China)
showClose - Specify the showClose parameter to display a close button (x) on the top right corner of the application. When users click the close button, a message is sent to the parent window via postMessage ("FeedbackWidgetClose",'*'); This enables the parent window to close the tag or iframe of the MapFeedback widget.
webView String If the Embedded Editor is running within a WebView, this parameter defines the platform of the WebView.

Valid WebView platforms:

zoomLevel Integer Defines the zoom level at which the Embedded Editor should start. "0" is zoomed out most and "21" is zoomed in the most. The map uses image tiles from "0" to "16" and vector data at "17" and higher.