Custom map pins: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 27: Line 27:
In this example, we add custom map pins for the account entity and differentiate between the active and inactive accounts.
In this example, we add custom map pins for the account entity and differentiate between the active and inactive accounts.


First, we have to define the style for the map pin. Go to the Account entity and open a view that is used in the map. In the style editor, click '''Add''' while ImageCellStyle is selected. This creates a new child style. We name it MapPin. The format string is defined as follows: ''Map_pins.{0}.png''. Map_pins describes the folder where the map pin images are stored. The following .{0} represents the value. This is a placeholder for the map pin types mentioned above. It's either for Value or Raw Value.
First, we have to define the style for the map pin. Go to the Account entity and open a view used in the map. In the style editor, click '''Add''' while ImageCellStyle is selected. This creates a new child style. We name it MapPin. The format string is defined as follows: ''Map_pins.{0}.png''. Map_pins describes the folder where the map pin images are stored. The following .{0} represents the value. This is a placeholder for the map pin types mentioned above. It's either for Value or Raw Value.


[[File:Mappin style.PNG|alt=Style we define for the custom map pins|600px]]
[[File:Mappin style.PNG|alt=Style we define for the custom map pins|600px]]
Line 48: Line 48:


* Map Pin Aggregation
* Map Pin Aggregation
Map pin aggregation is a useful configuration in case of multiple records located in the same area. If you enable map aggregation, a cluster pin is added to the heavily populated area on the map, grouping all the records.
* Map Pin Expansion
* Map Pin Expansion


1,214

edits

Navigation menu