Browse Source

Merge branch 'master' into doc-fest-edits

pull/146/head
Katie Kowalsky 8 years ago
parent
commit
5a65381ecf
  1. 2
      add-search-to-a-map.md
  2. 4
      release-notes.md
  3. 4
      use-cors.md

2
add-search-to-a-map.md

@ -12,7 +12,7 @@ To use the geocoding service, you must first get a Mapzen [API key](https://en.w
1. Go to https://mapzen.com/developers. 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. 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 for this project, and optionally, give it a project name so you can remember the purpose of the key. 3. Create a new key for this project 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. 4. Keep the web page open so you can copy the key into the source code later.
## Create an index page ## Create an index page

4
release-notes.md

@ -1,3 +1,7 @@
## 19 September 2016
Another data-only release. Stay tuned for next week!
## 12 September 2016 ## 12 September 2016
* Get excited for the addition of ✨ __STREETS__ ✨! That's right, with this release Mapzen Search gets a brand new `street` layer, which contains OSM street centroids. With this addition, if we can't find the exact address you're looking for we'll return the street record. Stay tuned for an in-depth blog post in the next few days. 👏 * Get excited for the addition of ✨ __STREETS__ ✨! That's right, with this release Mapzen Search gets a brand new `street` layer, which contains OSM street centroids. With this addition, if we can't find the exact address you're looking for we'll return the street record. Stay tuned for an in-depth blog post in the next few days. 👏

4
use-cors.md

@ -27,7 +27,7 @@ $.ajax({
dataType: "json", dataType: "json",
data: { data: {
"text": "London, UK", "text": "London, UK",
"api_key": "search-EEgHGcM" "api_key": "mapzen-xxxxxx"
}, },
success: function( data, status, jqxhr ){ success: function( data, status, jqxhr ){
console.log( "Request received:", data ); console.log( "Request received:", data );
@ -49,7 +49,7 @@ $http({
headers: { "Accept": "application/json" }, headers: { "Accept": "application/json" },
params: { params: {
"text": "London, UK", "text": "London, UK",
"api_key": "api_key=mapzen-xxxxxx" "api_key": "mapzen-xxxxxx"
}, },
}) })
.success(function( data, status ) { .success(function( data, status ) {

Loading…
Cancel
Save