instance method MapController#setMarkerProperties

MapController#setMarkerProperties(properties) → undefined
  • properties (Array) – An array of property names.

Defines which properties will be retrieved from each point when performing a request. These are basically the properties that need to be displayed directly on the marker, not in a popup window, for which the computation can be delayed on opening (see Marker#requestProperties).

Please note that retrieving a lot of properties can lead to large responses that may degrade user experience depending on the client's bandwidth.

Example (here points represent people)
mapController.setMarkerProperties(["firstName", "age"]);