Edit in GitHubLog an issue

Map

Typedefs

props

Props for GoogleMap

Page Builder Map component.

This component is part of the Page Builder / PWA integration. It can be consumed without Page Builder.

Returns: React.Element — A React component that displays a Map.

Parameters

NameTypeDescription
props
React component props

Props for GoogleMap

Properties

NameTypeDescription
classes
Object
An object containing the class names for the Map
classes.root
String
CSS class for the root element
apiKey
String
API key for Maps API usage
height
String
CSS height property
mapOptions
Object
specific Google Maps API options for Map object instantiation
locations
Array
Locations on the map for Marker placement
textAlign
String
Alignment of content within the row
border
String
CSS border property
borderColor
String
CSS border color property
borderWidth
String
CSS border width property
borderRadius
String
CSS border radius property
marginTop
String
CSS margin top property
marginRight
String
CSS margin right property
marginBottom
String
CSS margin bottom property
marginLeft
String
CSS margin left property
paddingTop
String
CSS padding top property
paddingRight
String
CSS padding right property
paddingBottom
String
CSS padding bottom property
paddingLeft
String
CSS padding left property
cssClasses
Array
List of CSS classes to be applied to the component

Source Code: pwa-studio/packages/pagebuilder/lib/ContentTypes/Map/map.js

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.