File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ class ExampleMap extends StatefulWidget {
38
38
39
39
class _ExampleMapState extends State <ExampleMap > {
40
40
static const String _pinId1 = '123' ;
41
- final LatLng _firstPinCoordinates = LatLng (52.9 , 13.2 );
41
+ final LatLng _firstPinCoordinates = const LatLng (52.9 , 13.2 );
42
42
static const String _pinId2 = '456' ;
43
- final LatLng _secondPinCoordinates = LatLng (51 , 11 );
43
+ final LatLng _secondPinCoordinates = const LatLng (51 , 11 );
44
44
static const String _pinLayerId = 'PinLayer' ;
45
45
static const String _polygon1 = 'polygon1' ;
46
46
static const String _polygon2 = 'polygon2' ;
@@ -67,8 +67,8 @@ class _ExampleMapState extends State<ExampleMap> {
67
67
68
68
bool show3dMap = false ;
69
69
bool _baseMapToggled = false ;
70
- final initialCenter = LatLng (51.16 , 10.45 );
71
- final tappedHQ = LatLng (48.1234963 , 11.5910182 );
70
+ final initialCenter = const LatLng (51.16 , 10.45 );
71
+ final tappedHQ = const LatLng (48.1234963 , 11.5910182 );
72
72
var _isInteractionEnabled = true ;
73
73
74
74
@override
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class _VectorLayerExamplePageState extends State<VectorLayerExamplePage> {
19
19
children: [
20
20
ArcgisMap (
21
21
apiKey: arcGisApiKey,
22
- initialCenter: LatLng (51.16 , 10.45 ),
22
+ initialCenter: const LatLng (51.16 , 10.45 ),
23
23
zoom: 13 ,
24
24
vectorTileLayerUrls: const [
25
25
"https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer" ,
You can’t perform that action at this time.
0 commit comments