Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you tell from the logs what is wrong? #572

Open
ember11498 opened this issue Jun 4, 2024 · 2 comments
Open

Can you tell from the logs what is wrong? #572

ember11498 opened this issue Jun 4, 2024 · 2 comments

Comments

@ember11498
Copy link

ember11498 commented Jun 4, 2024

Basically the map is not displayed but it is kind of there. if scroll the center coordinates change, so map is there but its invisible.

logs:

W/om.example.temp( 7860): Accessing hidden field Landroid/graphics/Typeface;->sSystemFontMap:Ljava/util/Map; (unsupported, reflection, allowed)
I/Mbgl-FontUtils( 7860): Couldn't map font family for local ideograph, using sans-serif instead
D/EGL_emulation( 7860): app_time_stats: avg=570.86ms min=36.62ms max=1105.11ms count=2
E/ThemeUtils( 7860): View class com.mapbox.maps.plugin.compass.CompassViewImpl is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
E/ThemeUtils( 7860): View class com.mapbox.maps.plugin.logo.LogoViewImpl is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
E/ThemeUtils( 7860): View class com.mapbox.maps.plugin.attribution.AttributionViewImpl is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
I/PlatformViewsController( 7860): Using hybrid composition for platform view: 0
D/EGL_emulation( 7860): eglMakeCurrent: 0x758669b657d0: ver 3 0 (tinfo 0x758895b7a080) (first time)
D/CompatibilityChangeReporter( 7860): Compat change id reported: 193247900; UID 10161; state: ENABLED
E/EGL_emulation( 7860): eglQueryContext 32c0  EGL_BAD_ATTRIBUTE
E/EGL_emulation( 7860): tid 7860: eglQueryContext(2122): error 0x3004 (EGL_BAD_ATTRIBUTE)
D/HostConnection( 7860): createUnique: call
D/HostConnection( 7860): HostConnection::get() New Host Connection established 0x758669b7a890, tid 8035
D/HostConnection( 7860): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan_async_qsri ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0 
D/EGL_emulation( 7860): eglCreateContext: 0x758669b768d0: maj 3 min 0 rcv 3
D/EGL_emulation( 7860): eglMakeCurrent: 0x758669b768d0: ver 3 0 (tinfo 0x758895b7a300) (first time)
D/EGL_emulation( 7860): app_time_stats: avg=10728.71ms min=1221.07ms max=20236.35ms count=2
E/emuglGLESv2_enc( 7860): device/generic/goldfish-opengl/system/GLESv2_enc/GL2Encoder.cpp:s_glGetStringi:4789 GL error 0x501

code snippet:

  @override
  Widget build(BuildContext context) {
    return MapWidget(
      key: const ValueKey("location-picker"),
      cameraOptions: CameraOptions(
        center: Point(
          coordinates: Position(lon, lat),
        ),
        zoom: 12,
      ),
      //styleUri: mapBoxStyle,
      onMapCreated: _onMapCreated,
      onTapListener: _onTap,
      onScrollListener: _onScrollListener,
      onMapIdleListener: _onMapIdle,
    );
  }
}
@Bazni
Copy link

Bazni commented Jun 19, 2024

Hey 👋,
May be stupid to ask but did you have a scaffold around your widget?

@amandacpg
Copy link

has anyone managed to find a solution to this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants