Replies: 5 comments 6 replies
-
Hi @ravenfeld. Could you provide more detailed reproduction steps? |
Beta Was this translation helpful? Give feedback.
-
I just touch the card or do nothing if the locationComponent is activated. It's as if animating the map is causing problems internally in the logcat. On one plus 6 I don't have the message but GC requests |
Beta Was this translation helpful? Give feedback.
-
https://github.com/ramani-maps/ramani-maps |
Beta Was this translation helpful? Give feedback.
-
any updates on this @louwers ? |
Beta Was this translation helpful? Give feedback.
-
Hey @louwers You will find a lot of the ioctl errors when you pinch to zoom or dragging around the map. class MainActivity : ComponentActivity() {
private fun setUpMapLibre(okHttpClient: OkHttpClient) {
Mapbox.getInstance(this, null, WellKnownTileServer.MapLibre)
HttpRequestUtil.setOkHttpClient(okHttpClient)
}
override fun onCreate(savedInstanceState: Bundle?) {
val okHttpClient = OkHttpClient.Builder().build()
setUpMapLibre(okHttpClient)
super.onCreate(savedInstanceState)
setContent {
MaterialTheme {
Surface(
modifier = Modifier.fillMaxSize(), color = MaterialTheme.colorScheme.background
) {
val context = LocalContext.current
val mapView = MapView(context).apply {
getMapAsync { map ->
map.apply {
setStyle("https://raw.githubusercontent.com/maplibre/demotiles/gh-pages/styles/osm-bright-gl-style/style.json") {
LocationComponentActivationOptions.builder(context, it).build()
}
}
}
}
AndroidView(factory = { mapView })
}
}
}
}
} |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm asking for your help because I don't understand the problem.
Everything works fine, but my logcat gets killed by this log "PIXEL: ioctl err: 1" every 12 ms
Do you have any tips on how to get rid of this problem?
I've run the dialing code but I have no other problems.
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions