| Android SDK | 2GIS Documentation


Map data source.

This can be a source of traffic data, routes, markers, arbitrary geometry, or other map objects. Any map object can have its own properties. The properties of an object affect which rules are applied to it, and display parameters described in map styles. Style is a set of parameters and rules for displaying map objects, obtained through the style editor and used to draw the map.

Object properties can be set .:

  • directly for the object;
  • data source (all objects added to the source receive these properties);
  • map (all objects that objects added to the map get these properties);
  • style (all objects that have the style applied get these properties). The list is in descending order of property application priority. Even if none are added to the map the data source, style properties, and map will still affect the map, because there are special displayables, such as the background.