October 2017
Intermediate to advanced
370 pages
8h 57m
English
We can combine our knowledge of forms from Chapter 6, Making contact: Forms in AMP with what we've just learned to create a searchable map. For this we can use the search mode of the Embed API:
https://google.com/maps/embed/v1/search?q=SEARCH_QUERY&key=YOUR_KEY
We'll need to build a search form in AMP so that the user can input some keywords--a place name or address--to search for. There are a few different ways we might build a search like this: with or without amp-form , amp-bind, or a server backend.
Read now
Unlock full access