We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a7578e commit 68dfd7eCopy full SHA for 68dfd7e
2 files changed
lib/geocoder/heregeocoder.js
@@ -118,6 +118,7 @@ HereGeocoder.prototype._formatResult = function (result) {
118
country: null,
119
countryCode: address.Country || null,
120
state: address.State || null,
121
+ stateCode: address.State || null,
122
county: address.County || null,
123
city: address.City || null,
124
zipcode: address.PostalCode || null,
test/geocoder/heregeocoder.test.js
@@ -262,6 +262,7 @@
262
country: 'Deutschland',
263
countryCode: 'DE',
264
state: 'Berlin',
265
+ stateCode: 'Berlin',
266
county: 'Berlin',
267
city: 'Berlin',
268
zipcode: '14195',
@@ -461,6 +462,7 @@
461
462
country: 'United States',
463
countryCode: 'US',
464
state: 'New York',
465
+ stateCode: 'NY',
466
county: 'Kings',
467
city: 'Brooklyn',
468
zipcode: '11211',
0 commit comments