Skip to main content

place-input


title: PlaceInput

PlaceInput

Deprecated true

PlaceInput component

[See](source code) ,[See](Map Bounds)

Props

Prop nameDescriptionTypeValuesDefault
boundsMap bounds this is an LatLngBounds
object builded with
@value new google.maps.LatLngBounds(...)
@see Map Bounds
object-undefined
defaultPlaceA default value for the html input
@value string
string-''
componentRestrictionsRestrict the search to a specific country
@value \{[key: string]: string\}
@see componentRestrictions
object-null
typesMap types this is an array of strings
@value string[]
@see Map Bounds
array-undefined
placeholderA placeholder for the html input
@value string
string-undefined
classNameA html class name for the html input
@value string
string-undefined
labelA label for the html input
@value string
string-null
selectFirstOnEnterIf true the first element on the list will be selected
when you press enter in the html input.
@value boolean
boolean-false

Events

Event namePropertiesDescription
place_changedplace object - this.$autocomplete.getPlace()Place change event