Skip to content

Commit ead071a

Browse files
authored
Update build-a-cafe-finder-with-javascript.mdx
deleted some words and added images
1 parent d1938c6 commit ead071a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

projects/build-a-cafe-finder-with-javascript/build-a-cafe-finder-with-javascript.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ The Google Maps Platform is a collection of Application Programming Interfaces (
4545

4646
Some popular apps that use the Google Maps Platform include Uber and Airbnb, which access a user’s location to calculate rides and show rentals in specific areas!
4747

48+
<ImageZoom src="https://miro.medium.com/v2/resize:fit:7680/1*ThzU2nLvoAHfPwLqlddwhQ.png" />
49+
4850
The [Places API](https://developers.google.com/maps/documentation/places/web-service/overview) is a smaller API under the Google Maps API. It fetches location data like location names, addresses, photos, and many more attributes! It’s a great tool for accessing updated data and finding multiple places without manually copying all of their information into a project. ****We’ll be using this in our project! ****
4951

5052
# ## Setup
@@ -112,7 +114,7 @@ const proxy = "https://cors-anywhere.herokuapp.com/";
112114

113115
## ### Geolocation
114116

115-
To see cafes nearby, the browser needs access to your location. There’s a built in JavaScript function that takes care of that for you called ``useLocation()`` and it takes your device’s latitude and longitude coordinates.
117+
To see cafes nearby, the browser needs access to your location. There’s a built-in JavaScript function that takes care of that for you called ``useLocation()`` and it takes your device’s latitude and longitude coordinates.
116118

117119
```jsx
118120
function getLocation() {

0 commit comments

Comments
 (0)