From 197d8b722d9dd233eca519fb17b32ba935bef20f Mon Sep 17 00:00:00 2001 From: rmglennon Date: Wed, 25 Jan 2017 17:18:02 -0800 Subject: [PATCH 1/2] replace api keys with overview links --- add-search-to-a-map.md | 16 ++++------------ api-keys-rate-limits.md | 28 +++++----------------------- autocomplete.md | 2 +- glossary.md | 2 +- index.md | 2 +- place.md | 2 -- reverse.md | 2 +- search.md | 2 ++ 8 files changed, 15 insertions(+), 41 deletions(-) diff --git a/add-search-to-a-map.md b/add-search-to-a-map.md index 9427dbe..5462ba1 100644 --- a/add-search-to-a-map.md +++ b/add-search-to-a-map.md @@ -8,17 +8,10 @@ Through a process known as [geocoding](https://en.wikipedia.org/wiki/Geocoding), In this tutorial, 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 can use any text editor and operating system, but must keep an Internet connection while you are working. -You also need a [Mapzen 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 also need a Mapzen API key, which you can get by following the steps in the Mapzen [developer overview]( https://mapzen.com/documentation/overview/#developer-accounts-and-api-keys). Suggested text editor applications include [Atom - OS X, Windows, Linux](https://atom.io/); [Notepad++ - Windows](https://notepad-plus-plus.org/); [TextWrangler - OS X](http://www.barebones.com/products/textwrangler/); and [Sublime - OS X, Windows, Linux; free trial](http://www.sublimetext.com/). While you can use the apps installed with your operating system, such as Notepad or TextEdit, they do not provide the helpful indentations, code coloring and autocomplete, or text alignment options found in the other editors. For TextEdit, you must go to the Format menu and click Make Plain Text to use the plain-text version of the file. Do not use an app that applies rich formatting, such as Word or Wordpad. -### Sign up for a Mapzen API key - -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. -3. Create a new key, and, optionally, give it a project name so you can remember the purpose of the key. -4. Keep the web page open so you can copy the key into the source code later. - ## Create an HTML page You are ready to start building your web page and map. @@ -187,17 +180,16 @@ To recap how you created this, you added references to the Mapzen JS and CSS fil So far, you have referenced the necessary files, initialized Leaflet with a map container on the page, and added data to the map. Now, you are ready to add the Search box. -1. Go back to the https://mapzen.com/developers page and copy your API key to the clipboard. -2. Inside the same `