Giter VIP home page Giter VIP logo

Comments (6)

baleboy avatar baleboy commented on June 1, 2024

Could you check if this is reproducible on 1.0.0-beta.2 ?

from mapbox-maps-flutter.

wnowak-vialytics avatar wnowak-vialytics commented on June 1, 2024

@baleboy I also got it on 1.0.0-beta.2

I think it's related to reading mapOptions at
https://github.com/mapbox/mapbox-maps-flutter/blob/main/android/src/main/kotlin/com/mapbox/maps/mapbox_maps/MapboxMapFactory.kt#L40
The code skips one position, moving from mapOptions[4] to mapOptions[6]:

      mapOptions[4]?.let {
        mapOptionsBuilder.crossSourceCollisions(it as Boolean)
      }
      mapOptions[6]?.let {
        (it as ArrayList<Double>).let { size ->

I got an error in the console regarding an incorrect casting (from double to ArrayList). Fixing indices fixed the map, however, no markers are visible (might be unrelated to the issue, I need to investigate more, as I just migrated to the new version).

from mapbox-maps-flutter.

figureai avatar figureai commented on June 1, 2024

您能检查一下这是否可以在 1.0.0-beta.2 上重现吗?

Yes, In version 1.0.0-beta.2, the same issue of a blank view. I find it only occurs on Pixel 8 device.
IMG_4331

from mapbox-maps-flutter.

baleboy avatar baleboy commented on June 1, 2024

thanks for the extra details. I think the description of the issue is quite clear, but FYI the screenshot is not visible.

from mapbox-maps-flutter.

figureai avatar figureai commented on June 1, 2024

Yes, thanks for your reminder. I re-uploaded the image.
image

from mapbox-maps-flutter.

evil159 avatar evil159 commented on June 1, 2024

Hi @figureai, thank you for reporting this issue! And kudos to @LjubiTech-Maxko for fixing it! The fix will be available as a part of 1.0.0-beta.3 release.

from mapbox-maps-flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.