且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

颤振中的地图视图

更新时间:2023-02-04 23:18:53

不幸的是,这是选择在GPU上呈现自己的组件而不是使用OEM解决方案的缺点之一,它们需要通过Flutter API烘焙GMaps渲染器,并且可能会,与此同时,请尝试以下实现: https://github.com/apptreesoftware/flutter_map >

Is there any way how make normal Map View in flutter. I need to have map ready when user opens the app. Only thing I saw, is that apptree plugin, but I could only make the map appear after user taps the button (and fullscreen, I need to put it into container). Basicaly what I need is some Map Widget, is there any ?

Unfortunately this is one of the drawbacks of choosing to render own components on GPU instead of using OEM solutions, they need to bake GMaps renderer over Flutter APIs and probably will, in the meanwhile, try this implementation: https://github.com/apptreesoftware/flutter_map