Last active
November 18, 2023 14:08
-
-
Save svierk/1ade4061c32d3fb132dba6e119cc19bb to your computer and use it in GitHub Desktop.
XML file for Custom Map View LWC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata"> | |
<apiVersion>59.0</apiVersion> | |
<isExposed>true</isExposed> | |
<masterLabel>Custom Map View</masterLabel> | |
<description>Configurable map component for displaying locations via Google Maps API.</description> | |
<targets> | |
<target>lightning__RecordPage</target> | |
</targets> | |
<targetConfigs> | |
<targetConfig targets="lightning__RecordPage"> | |
<property | |
name="height" | |
label="Map Height" | |
type="String" | |
description="Height of the map component in percent or pixels. The default is 400px." | |
default="400px" | |
/> | |
<property | |
name="width" | |
label="Map Width" | |
type="String" | |
description="Width of the map component in percent or pixels. The default is 100%." | |
default="100%" | |
/> | |
<property | |
name="listView" | |
label="List View" | |
type="String" | |
description="Displays or hides the list of locations. Valid values are visible, hidden, or auto." | |
default="auto" | |
/> | |
</targetConfig> | |
</targetConfigs> | |
</LightningComponentBundle> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment