File tree Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -64,24 +64,25 @@ class HomePage extends StatelessWidget {
6464            ), 
6565          ], 
6666        ), 
67-         mapType: MapType.satallite , 
67+         mapType: MapType.satellite , 
6868        myLocationEnabled: true, 
6969        myLocationButtonEnabled: true, 
7070        onTap: (location) => print('onTap: $location'), 
7171        onCameraMove: (location) => print('cameraMove: $location'), 
7272        compassEnabled: true, 
7373        onMapCreated: (controller) { 
74-           Future.delayed(Duration(seconds: 2)).then((_) { 
75-             controller.animateCamera( 
76-               CameraUpdate.newCameraPosition( 
77-                 const CameraPosition( 
78-                   bearing: 270.0, 
79-                   target: LatLng(51.5160895, -0.1294527), 
80-                   tilt: 30.0, 
81-                   zoom: 18, 
74+           Future.delayed(Duration(seconds: 2)).then( 
75+             (_) { 
76+               controller.animateCamera( 
77+                 CameraUpdate.newCameraPosition( 
78+                   const CameraPosition( 
79+                     bearing: 270.0, 
80+                     target: LatLng(51.5160895, -0.1294527), 
81+                     tilt: 30.0, 
82+                     zoom: 18, 
83+                   ), 
8284                ), 
83-               ), 
84-             ); 
85+               ); 
8586            }, 
8687          ); 
8788        }, 
Original file line number Diff line number Diff line change 1- name : flutter_platform_maps 
1+ name : platform_maps_flutter 
22description : A Flutter package that combines google_maps and apple_maps to provide a crossplatform native map implementation. 
33version : 0.1.0 
4- author : Luis Thein  
4+ author : 
Luis Thein <[email protected] >  55homepage : https://github.com/LuisThein 
66
77environment :
@@ -11,9 +11,9 @@ dependencies:
1111  flutter :
1212    sdk : flutter 
1313
14-   google_maps_flutter : 0.5.21+7 
14+   google_maps_flutter : ^ 0.5.21+7
1515
16-   apple_maps_flutter : 0.0.2 
16+   apple_maps_flutter : ^ 0.0.2
1717
1818dev_dependencies :
1919  flutter_test :
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments