Skip to content

Commit

Permalink
GO-810 flagged more languages for geocoding (#48)
Browse files Browse the repository at this point in the history
* GO-810 flagged more languages for geocoding

* reverted auto-formatting

* GO-810 bumped patch version
  • Loading branch information
zdila authored Dec 6, 2024
1 parent 09757b0 commit 24d0230
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 18 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
# MapTiler Client Changelog

## 2.2.1
### Bug Fixes
- Fixed incorrect `geocoding: false` for some more languages

## 2.2.0
### New Features
- Exposing ISO languages and non-ISO language separately
### Others
- fixing typos
- languages are now ordered alphabetically


## 2.1.0
### New Features
- Added `continental_marine` and `major_landform` to geocoding type
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@maptiler/client",
"version": "2.2.0",
"version": "2.2.1",
"description": "Javascript & Typescript wrapper to MapTiler Cloud API",
"module": "dist/maptiler-client.mjs",
"types": "dist/maptiler-client.d.ts",
Expand Down
28 changes: 14 additions & 14 deletions src/language.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const ISOLanguage = {
name: "Amharic",
latin: false,
isMode: false,
geocoding: false,
geocoding: true,
} as LanguageInfo,

/**
Expand Down Expand Up @@ -163,7 +163,7 @@ export const ISOLanguage = {
name: "Basque",
latin: true,
isMode: false,
geocoding: false,
geocoding: true,
} as LanguageInfo,

/**
Expand All @@ -187,7 +187,7 @@ export const ISOLanguage = {
name: "Bengali",
latin: true,
isMode: false,
geocoding: false,
geocoding: true,
} as LanguageInfo,

/**
Expand Down Expand Up @@ -283,7 +283,7 @@ export const ISOLanguage = {
name: "Corsican",
latin: true,
isMode: false,
geocoding: false,
geocoding: true,
} as LanguageInfo,

/**
Expand Down Expand Up @@ -463,7 +463,7 @@ export const ISOLanguage = {
name: "Hindi",
latin: false,
isMode: false,
geocoding: false,
geocoding: true,
} as LanguageInfo,

/**
Expand Down Expand Up @@ -499,7 +499,7 @@ export const ISOLanguage = {
name: "Indonesian",
latin: true,
isMode: false,
geocoding: false,
geocoding: true,
} as LanguageInfo,

/**
Expand Down Expand Up @@ -643,7 +643,7 @@ export const ISOLanguage = {
name: "Kurdish",
latin: true,
isMode: false,
geocoding: false,
geocoding: true,
} as LanguageInfo,

/**
Expand Down Expand Up @@ -715,7 +715,7 @@ export const ISOLanguage = {
name: "Malayalam",
latin: false,
isMode: false,
geocoding: false,
geocoding: true,
} as LanguageInfo,

/**
Expand Down Expand Up @@ -751,7 +751,7 @@ export const ISOLanguage = {
name: "Occitan",
latin: true,
isMode: false,
geocoding: false,
geocoding: true,
} as LanguageInfo,

/**
Expand All @@ -763,7 +763,7 @@ export const ISOLanguage = {
name: "Persian",
latin: false,
isMode: false,
geocoding: false,
geocoding: true,
} as LanguageInfo,

/**
Expand Down Expand Up @@ -799,7 +799,7 @@ export const ISOLanguage = {
name: "Punjabi",
latin: false,
isMode: false,
geocoding: false,
geocoding: true,
} as LanguageInfo,

/**
Expand Down Expand Up @@ -943,7 +943,7 @@ export const ISOLanguage = {
name: "Tamil",
latin: false,
isMode: false,
geocoding: false,
geocoding: true,
} as LanguageInfo,

/**
Expand All @@ -955,7 +955,7 @@ export const ISOLanguage = {
name: "Telugu",
latin: false,
isMode: false,
geocoding: false,
geocoding: true,
} as LanguageInfo,

/**
Expand Down Expand Up @@ -1003,7 +1003,7 @@ export const ISOLanguage = {
name: "Vietnamese (Latin script)",
latin: true,
isMode: false,
geocoding: false,
geocoding: true,
} as LanguageInfo,

/**
Expand Down

0 comments on commit 24d0230

Please sign in to comment.