Skip to content

Commit 2c7bf7d

Browse files
Merge pull request #87 from Esri/PaulAllanSturm/cosmetic
Assorted cosmetic fixes
2 parents da7ddbb + ed2d0f0 commit 2c7bf7d

File tree

4 files changed

+18
-8
lines changed

4 files changed

+18
-8
lines changed

lib/samples/create_planar_and_geodetic_buffers/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Creating buffers is a core concept in GIS proximity analysis that allows you to
1313
1. Tap on the map.
1414
2. A planar and a geodetic buffer will be created at the tap location using the distance (miles) specified.
1515
3. Continue tapping to create additional buffers. Notice that buffers closer to the equator appear similar in size. As you move north or south from the equator, however, the geodetic polygons become much larger. Geodetic polygons are in fact a better representation of the true shape and size of the buffer.
16-
4. Tap Clear to remove all buffers and start again.
16+
4. Tap `Clear` to remove all buffers and start again.
1717

1818
## How it works
1919

@@ -30,7 +30,7 @@ Creating buffers is a core concept in GIS proximity analysis that allows you to
3030

3131
## Additional information
3232

33-
Buffers can be generated as either planar (flat - coordinate space of the map's spatial reference) or geodetic (technique that considers the curved shape of the Earth's surface, which is generally a more accurate representation). In general, distortion in the map increases as you move away from the standard parallels of the spatial reference's projection. This map is in Web Mercator so areas near the equator are the most accurate. As you move the buffer location north or south from that line, you'll see a greater difference in the polygon size and shape. Planar operations are generally faster, but performance improvement may only be noticeable for large operations (buffering a great number or complex geometry).
33+
Buffers can be generated as either `planar` (flat - coordinate space of the map's spatial reference) or `geodetic` (technique that considers the curved shape of the Earth's surface, which is generally a more accurate representation). In general, distortion in the map increases as you move away from the standard parallels of the spatial reference's projection. This map is in Web Mercator so areas near the equator are the most accurate. As you move the buffer location north or south from that line, you'll see a greater difference in the polygon size and shape. Planar operations are generally faster, but performance improvement may only be noticeable for large operations (buffering a great number or complex geometry).
3434

3535
For more information about using buffer analysis, see the topic How [Buffer (Analysis) works](https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/how-buffer-analysis-works.htm) in the ArcGIS Pro documentation.
3636

lib/samples/identify_layer_features/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Identify features in all layers in a map.
66

77
## Use case
88

9-
`identifyLayers` allows users to tap on a map, returning features at that location across multiple layers. Because some layer types have sublayers, the sample recursively counts results for sublayers within each layer.
9+
This sample allows users to tap on a map, returning features at that location across multiple layers. Because some layer types have sublayers, the sample recursively counts results for sublayers within each layer.
1010

1111
## How to use the sample
1212

2.46 KB
Loading

lib/samples/identify_layer_features/identify_layer_features_sample.dart

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,21 @@ class _IdentifyLayerFeaturesSampleState
5050
// Add a banner to show the results of the identify operation.
5151
SafeArea(
5252
child: IgnorePointer(
53-
child: Container(
54-
color: Colors.white.withAlpha(230),
55-
padding: const EdgeInsets.all(10),
56-
child: Row(
57-
children: [Text(_message)],
53+
child: Visibility(
54+
visible: _message.isNotEmpty,
55+
child: Container(
56+
padding: const EdgeInsets.all(10),
57+
color: Colors.black.withOpacity(0.7),
58+
child: Row(
59+
mainAxisAlignment: MainAxisAlignment.center,
60+
children: [
61+
Text(
62+
_message,
63+
textAlign: TextAlign.center,
64+
style: const TextStyle(color: Colors.white),
65+
),
66+
],
67+
),
5868
),
5969
),
6070
),

0 commit comments

Comments
 (0)