Created on 07 July 2020
icon_unfollowing
Login to follow
google-places-autocomplete

Google Places Autocomplete

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded on 07 July 2020 by 
google-places-autocomplete

Google Places Autocomplete

Details
Full implementation of the Google Places Autocomplete widget provided by the Places Javascript API. This enables applications to send queries as the user types, to provide on-the-fly place predictions as well as details for a selected place, while mapping all the library classes to OutSystems structures.
Read more

Description:

The Google Places Autocomplete widget is an implementation of the Autocomplete widget from the Places Javascript API. It comprises a complete mapping of the widget features, including all options and structures offered by the API mapped to OutSytems structures. It also provides some helper utilities and enhancements to the original widget.

You can use the Autocomplete widget to give (any text input widget) your applications the type-ahead-search behavior of the Google Maps search field. The widget can match on full words and substrings, resolving place names, addresses, zip codes, plus codes, etc. Applications can therefore send queries as the user types, to provide on-the-fly place predictions in a dropdown field.

Furthermore, when a place from the dropdown is selected the widget retrieves the details for the selected place, which can then be used, for example, to populate or validate other fields.


Highlights:

  • Complete mapping of the Autocomplete widget class from Places Javascript API to OutSystems
  • Provides reactive inputs to dynamically configure the widget: Allows to restrict predictions by country, bounds and certain types, as well as, to set the fields that should be returned in the PlaceResult structure to reduce billing costs
  • Provides helper structures to quickly get common address fields from the PlaceResult Structure
  • Extra option to automatically select the first place when the user presses the enter key after typing some text (a common behaviour that the original widget lacks)



Please see the documentation page for a more detailed description of the widget features and to learn how to use it.


Note:

This application includes two modules:

  • GooglePlacesAutocompleteExample: Exemplifies a common use case for the widget module.
  • GooglePlacesAutocompleteWidget: The library that implements the autocomplete widget. This is the module you should import to implement the autocomplete feature in your own application.
Release notes (1.0.0)
Reviews (2)
by 
2022-10-28
in version 1.0.0
Nice one, helped me alot!
by 
2022-01-13
in version 1.0.0
Easy to use. Allowed me to restrict by country and limit fields returned to control costs.
Category
User interface, Maps & location
Tags
Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
Google Places Autocomplete has no dependencies.
Application Objects
Google Places Autocomplete has 2 AOs.
Team
Compatible with
Version 11
11.9.2 or higher
11.7.6 to 11.9.0
11.0.606 to 11.0.615
Database:
All
Asset consumers
No consumers yet.
Weekly downloads