Google Maps Example

Al3 (@al3)

21442

1

0

About This Space

A basic example of using Google Maps Address Autocomplete in a Rich Display Screen and a Google map view


Last updated on April 16, 2020

Forked from: /al3/google-maps-autocomplete/

Public Permissions:   View   Run   Comment  

Google Maps Platform Example

This space provides an example of using Google Maps Cloud Platform. The space provides an example of the Address Auto-Complete and a Map view.

The auto-complete in the example is intended to allow you to search for a street address for a location and name the location yourself by specifying a name in the name field. The auto-complete can be used to seaarch for places and landmarks also.

Client code

The Google Maps .js file is included by adding it to the External JavaScript files in the app.json Main screen format.

The code for handling the Autocomplete and loading the map is all client side JavaScript stored in the clientcode.js file.

Using the app

When the page loads the map view is positioned on the user's general area

Screenshot

Enter a Name and then search for the address.

Screenshot

Once an address is selected from the auto-complete list the map will reposition and a marker will be placed. Click the Save button to save the information.

Screenshot

Clicking on a row in the list will display that location on the map.

Screenshot

Google Maps account

The Google Maps Platform requires a account. To use this example with your own Google Maps account fork the google-maps-example-code space and then update the External JavaScript file(2) in the app.json Main screen format and add your API Key.

Comments

Write Preview Markdown: bold italic code link
Post
Al3

5 years ago

This space is protected because it uses a Google Maps Platform Account. You can create your own space using your own account by forking the space https://noderun.com/al3/google-maps-example-code/

More Spaces By Al3 (@al3)

Filters:

Popular Recent

example mortgage application

Al3

16688

1

3

Simple example of a real world business application

Al3

11592

0

0

Simple output to a browser from Node.js

Al3

13543

0

0

low code version of PO Demo

Al3

4601

0

0

This space demonstrates how to create a more responsive grid using a layout widget and a little bit of JavaScript and a responsive edit screen. It also incorporates consuming a web service to load list data, adding image upload and display to a screen, and using gauges from Fusion Charts

Al3

18831

0

2

This space demonstrates how to create a more responsive grid using a layout widget and a little bit of JavaScript and a responsive edit screen. It also incorporates consuming a web service to load list data, adding image upload and display to a screen, and using gauges from Fusion Charts

Al3

13866

0

0

This space demonstrates how to create a more responsive grid using a layout widget and a little bit of JavaScript.

Al3

19062

0

3

A demo of how to build and consume Web Services with and without parameters

Al3

12888

0

0

A demo of how to build and consume Web Services with and without parameters

Al3

10665

0

0

A demo of how to build and consume Web Services with and without parameters

Al3

8297

0

0