zyzdev / flutter_street_view

10 stars 29 forks source link

Bug - Fuzzy rendering in physical devices #4

Open Santi92 opened 2 years ago

Santi92 commented 2 years ago

Hello 👋 .

**Description:*** I'm using your great library, but I'm having rendering problems.

Make two types of street view, one with your library and the other with an embedded html.

The result is super large rendering of the html is better, I want to report that behavior.

flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel unknown, 2.5.1, on macOS 11.2.3 20D91 darwin-x64, locale en-CO)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.2)
[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
[✓] VS Code (version 1.61.2)
[✓] VS Code (version 1.57.0)
[✓] VS Code (version 1.56.2)
[✓] Connected device (2 available)

pubspec

 name: xxxxxx
 description: xxxxx

 environment:
  sdk: 2.14.2
  flutter: 2.5.1

  dependencies:
  flutter:
    sdk: flutter

   flutter_google_street_view: ^2.2.2

Steps to Reproduce Issue:

This first image is with flutter_street_view

Screen Shot 2021-10-27 at 3 13 02 PM

And the second with the HTML embed

Screen Shot 2021-10-27 at 3 02 06 PM

Characteristics of the mobile

MOTO e(7) Pluss

Screen Shot 2021-10-27 at 3 43 33 PM
zyzdev commented 2 years ago

Hi @Santi92,

ASUS ZenFone Live (L1)(720 x 1440) ASUS ZenFone Live (L1)

Google Pixel 5(1080 x 2340). pixel 5

Street view at Google Pixel 5 is more clear. I think the street view resolution was control by Maps SDK of each platform, and relate to screen resolution of device. I don't find any resolution control api from Maps SDK for Android(Street View is port of Maps SDK).

It means I can't add an api for control resolution by now.

Santi92 commented 2 years ago

First to congratulate you for that great contribution.

List anyway in other devices they work super well.

Thank you very much for your answer @zyzdev .