Posts

Showing posts with the label google-maps

clustring react-native-maps in react native map

I tried react native map clustering with super cluster and react-native-maps(airbnb) by using this reference which show poor performance for more nodes, to improve this where to start either airbnb java code or super cluster. There is a solution, using supercluster, and here an example ! https://github.com/warka0/react-native-cluster-example

google map flutter plugin

hello I try to use google map plugin for flutter https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter I use this exemple https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter/example/lib but in this exemple there is some page. In my application I need only one map at the launch on the app. Problem, with this exemple I didn't manage to use it at my convenience. So I try to use the minimalist example of the read.me but it's a statlesswidget, and I and can't integer Tag fonction or the map_ui.dart like the complet example. So I tried to pass this stateless in statefull but when I do this I have an error here is what I tried to compile from the two example exemple 1 https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter void main() { GoogleMapController.init(); final GoogleMapOverlayController controller = GoogleMapOverlayController.fromSize(width: 300.0, height: 200.0); final Widget mapWidget = GoogleMap...