get Display Rule
Gets the LocationDisplayRule with the given type (name)
Return
A LocationDisplayRule or null
if a LocationDisplayRule with the given name wasn't found
Parameters
type
The LocationDisplayRule name
@Nullable
@AnyThread
Content copied to clipboard
Gets the LocationDisplayRule currently being used by the given MPLocation
Return
A LocationDisplayRule or null
(if the given location has an overridden icon set in the CMS or if it is null
)
Parameters
location
The MPLocation we want to get its current LocationDisplayRule