Baseflow / Baseflow/flutter-geocoding

[Bug]: Wrong pincode at first index of array. There is no types parameter with key postal_code just like google provides in its reversegeocoding API.

オープン
#257 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Dart
スター
153
フォーク
92
PR マージ指標
30日以内にマージされた PR はありません

説明

### Please check the following before submitting a new issue.

- [X] I have searched the [existing issues](https://github.com/baseflow/flutter-geocoding/issues).
- [X] I have carefully [read the documentation](https://github.com/Baseflow/flutter-geocoding/blob/main/geocoding/README.md) and verified I have added the required platform specific configuration.

### Please select affected platform(s)

- [X] Android
- [X] iOS

### Steps to reproduce

Hi,

Facing issue of having wrong pincode based on provided devices latitude and longitude. Example, If I am passing device latitude longitude, the accurate postal code should get visible.

Result

Expected Output : 24.8234664, 75.0307014 => 458226

### Expected results

If I pass latlong : 24.8234664, 75.0307014 it should get pincode as 458226

### Actual results

When passing latlong : 24.8234664, 75.0307014 getting pincode 454226

### Code sample

List placemarks = await geocoding.placemarkFromCoordinates(loc.latitude, loc.longitude);

Using dart, I should get types as postal-code and basis of that I should get the actual pincode of that location.

### Screenshots or video

_No response_

### Version

3.0.0

### Flutter Doctor output

Have done all the things and upgraded the flutter version with all other dependencies

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、バージョン 3.0.0 を使用し、Android と iOS の両方で Dart の placemarkFromCoordinates 呼び出しを通じて報告された座標を再現し、返される郵便番号データを比較します。プラグインがプラットフォームのジオコーダーの結果をどのように公開しているかを追跡し、要求された郵便番号の選択がサポートされているかどうかを確認します。報告された座標から期待される pincode が返されるか、検証済みの結果とともに制限事項が文書化されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
dart, flutter
領域
mobile
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。