Skip to content

Commit 2d0e2d7

Browse files
committed
updated some text
1 parent 6fc31b9 commit 2d0e2d7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

documentation/snippets/language-geocoding.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
>
22
```javascript--browser
3-
var q = {additional: {location: {'text': 'SFO'}}};
4-
Breinify.temporalData(q, false, function(data) {
3+
var text = 'SFO';
4+
Breinify.temporalData({additional: {location: {'text': text }}}, function(data) {
55
// the location will be resolved to San Francisco, CA, US
66
console.log(data);
77
});

documentation/snippets/language-reverse-geocoding.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ var loc = {
55
longitude: -122.4194155,
66
shapeTypes: ['CITY', 'NEIGHBORHOOD']
77
};
8-
var q = {additional: { location: loc }};
9-
Breinify.temporalData(q, function(data) {
8+
Breinify.temporalData({additional: { location: loc }}, function(data) {
109
/*
1110
* The location will be resolved to San Francisco, CA, US.
1211
* In addition, it will contain the shapes of the

0 commit comments

Comments
 (0)