From 51a2b5ce13eee581dcd87c415fb8a8a1f47ddd30 Mon Sep 17 00:00:00 2001 From: Riordan Date: Fri, 4 Mar 2016 17:29:49 -0500 Subject: [PATCH 01/27] Retext Simplified Documentation Simplifies documentation language based on [retext-mapbox-standard](https://github.com/mapbox/retext-mapbox-standard). There are still several things that don't pass linter muster, but they're key terms for the product (namely "prioritize"). --- add-search-to-a-map.md | 18 +++++++++--------- api-keys-rate-limits.md | 8 ++++---- autocomplete.md | 6 +++--- data-sources.md | 6 +++--- get-started.md | 6 +++--- glossary.md | 10 +++++----- http-status-codes.md | 2 +- index.md | 4 ++-- place.md | 4 ++-- response.md | 6 +++--- reverse.md | 6 +++--- search.md | 18 +++++++++--------- transition-from-beta.md | 8 ++++---- use-cors.md | 8 ++++---- 14 files changed, 55 insertions(+), 55 deletions(-) diff --git a/add-search-to-a-map.md b/add-search-to-a-map.md index 6e477ab..ba6c368 100644 --- a/add-search-to-a-map.md +++ b/add-search-to-a-map.md @@ -1,14 +1,14 @@ # Add the Mapzen Search geocoder to a map -[Mapzen Search](https://mapzen.com/projects/search) is a modern, geographic search service based entirely on open-source tools and open data. Use this functionality to enhance any app that has a geographic context, such as ones that assist in delivering goods, locating hotels or venues, or providing local weather forecasts. +[Mapzen Search](https://mapzen.com/projects/search) is a modern, geographic search service based entirely on open-source tools and open data. Use this functionality to enhance any app that has a geographic context, such as ones that help in delivering goods, locating hotels or venues, or providing local weather forecasts. Through a process known as [geocoding](https://en.wikipedia.org/wiki/Geocoding), Mapzen Search allows you to enter an address or the name of a landmark or business, and the service translates the result into geographic coordinates for mapping. Mapzen Search is built on [Pelias](https://github.com/pelias), an open-source geocoding project. -In this walkthrough, you will learn how to make a map with a search box that allows you to enter addresses and place names and locate them on a map. To complete the tutorial, you should have some familiarity with HTML and JavaScript, although all the source code is provided. You also need a Mapzen Search [API key](https://mapzen.com/developers), which requires a [GitHub account](https://help.github.com/articles/signing-up-for-a-new-github-account/) for authorization. You can use any text editor and operating system, but must maintain an Internet connection while you are working. +In this walkthrough, you will learn how to make a map with a search box that allows you to enter addresses and place names and locate them on a map. To complete the tutorial, you should have some familiarity with HTML and JavaScript, although all the source code is provided. You also need a Mapzen Search [API key](https://mapzen.com/developers), which requires a [GitHub account](https://help.github.com/articles/signing-up-for-a-new-github-account/) for authorization. You can use any text editor and operating system, but must keep an Internet connection while you are working. ## Sign up for a Mapzen Search API key -To use the geocoding service, you must first obtain a Mapzen Search [API key](https://en.wikipedia.org/wiki/Application_programming_interface_key). Because the search service is shared among many users, an API key is a way to make sure that the performance is acceptable for everyone. Sign in at https://mapzen.com/developers to create and manage your API keys. +To use the geocoding service, you must first get a Mapzen Search [API key](https://en.wikipedia.org/wiki/Application_programming_interface_key). Because the search service is shared among many users, an API key is a way to make sure that the performance is acceptable for everyone. Sign in at https://mapzen.com/developers to create and manage your API keys. 1. Go to https://mapzen.com/developers. 2. Sign in with your [GitHub account](https://help.github.com/articles/signing-up-for-a-new-github-account/). If you have not done this before, you need to agree to the terms first. @@ -76,7 +76,7 @@ A cascading style sheet (CSS) is used to style a webpage, including layout and f ``` -2. In the `` section, immediately after the lines you added for Leaflet, add references to the geocoder's CSS and JavaScript files. These are also being linked to on a website. +2. In the `` section, directly after the lines you added for Leaflet, add references to the geocoder's CSS and JavaScript files. These are also being linked to on a website. ```html @@ -109,7 +109,7 @@ Note that you are linking to a website that is serving the geocoder's CSS and Ja To display a Leaflet map on a page, you need a `
` element, which is a container on the page that groups elements, with an ID value. If you want to know more about initializing a Leaflet map, see the [Leaflet getting started documentation](http://leafletjs.com/examples/quick-start.html). -1. At the bottom of the `` section, after the references you added in the previous steps, add a `