Components

Configuring the new Avonni Map "Pin" Marker Type

Now it's easier than ever with Avonni Map's new "Pin" marker type!

Did you know that the latest release of the Avonni Components Package makes customizing your map markers with the Avonni Map Component easier than ever?

We've introduced a new, pre-defined "Pin" marker type that you can quickly adapt to your needs. With just a few clicks, you can adjust its scale, fill color, fill opacity, and more directly in your Screen Flow settings.

No more complex customizations or design skills are required – focus on your data and let Avonni Map take care of the visual details.

Getting Started with the "Pin" Marker Type

To use the "Pin" marker type within the Avonni Map component:

  1. Ensure you have the latest version of the Avonni Map component installed in your Salesforce org.
  2. In your Screen Flow, configure the Avonni Map component.
  3. Select the "Pin" marker type from the available options.
  4. Customize the fill color and stroke to match your preferences.

Example: Visualizing Account Locations by Type

Let's say you want to quickly see the locations of all your Salesforce accounts, with a clear visual distinction between their types (e.g., Integrator, Partner, Investor). Avonni Map makes this effortless:

  • Create a Formula Field: Create a new formula text field on your Account object. This field will dynamically determine the fill color of each account's map marker based on its type. Here's an example formula:

Formula:

IF(ISPICKVAL(Type,'Integrator'), '#fcc003',    

IF(ISPICKVAL(Type,'Partner'), '#d78ff5',        

IF(ISPICKVAL(Type,'Investor'), '#e3066a', '#08abed')))

This formula assigns specific hex color codes to each account type, with a default color for any other type.

  • Link to Fill Color: In your Avonni Map component settings, link the "Fill Color" property to this new formula field.

That's it! You've transformed your Avonni Map into a powerful visualization tool with just a few simple steps. Using the new pin marker type, each account pin will dynamically display its assigned color based on its type. This instant visual cue makes it easy to identify trends, prioritize outreach, or allocate resources based on the distribution of your different account types

>> Explore the
Documentation

Build Salesforce Solutions Faster

Save time, reduce costs, and see your Salesforce projects come to life faster.