Skip to content

Commit 524d8fb

Browse files
committed
added readme, metadata, screenshot
1 parent 32af8ea commit 524d8fb

File tree

5 files changed

+132
-132
lines changed

5 files changed

+132
-132
lines changed
Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,38 @@
1-
# Render multilayer symbols
1+
# Render multilayer symbols
2+
3+
Show different kinds of multilayer symbols on a map.
4+
5+
![Image of render multilayer symbols](render-multilayer-symbols.png)
6+
7+
## Use case
8+
9+
Allows you to customize a graphic with a multilayer symbol. For example, you may want more customizable symbols than those that are provided with the API to display a unique representation of a landmark.
10+
11+
## How to use the sample
12+
13+
The sample loads with multilayer symbols displayed for points, polylines, and polygons.
14+
15+
## How it works
16+
17+
1. Create multilayer symbols for each predefined 2D simple symbol style.
18+
* For multilayer point symbols, use the `MultilayerPointSymbol` constructor.
19+
* For multilayer polyline symbols, use the `MultilayerPolylineSymbol` constructor.
20+
* For multilayer polygon symbols, use the `MultilayerPolygonSymbol` constructor.
21+
2. Create `Graphic`s by passing in a `Geometry` and the associated multilayer symbol.
22+
3. Add graphics to the graphics overlay with `graphicsOverlay.getGraphics.add(graphic)`
23+
24+
## Relevant API
25+
26+
* Graphic
27+
* GraphicsOverlay
28+
* MultilayerPointSymbol
29+
* MultilayerPolygonSymbol
30+
* MultilayerPolylineSymbol
31+
* PictureMarkerSymbolLayer
32+
* SolidFillSymbolLayer
33+
* SolidStrokeSymbolLayer
34+
* VectorMarkerSymbolLayer
35+
36+
## Tags
37+
38+
graphic, marker, multilayer, picture, symbol
Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,42 @@
11
{
2-
}
2+
"category": "Visualization",
3+
"description": "Show different kinds of multilayer symbols on a map.",
4+
"formal_name": "RenderMultilayerSymbols",
5+
"ignore": false,
6+
"images": [
7+
"render-multilayer-symbols.png"
8+
],
9+
"keywords": [
10+
"graphic",
11+
"marker",
12+
"multilayer",
13+
"picture",
14+
"symbol",
15+
"Graphic",
16+
"GraphicsOverlay",
17+
"MultilayerPointSymbol",
18+
"MultilayerPolygonSymbol",
19+
"MultilayerPolylineSymbol",
20+
"PictureMarkerSymbolLayer",
21+
"SolidFillSymbolLayer",
22+
"SolidStrokeSymbolLayer",
23+
"VectorMarkerSymbolLayer"
24+
],
25+
"language": "kotlin",
26+
"redirect_from": "",
27+
"relevant_apis": [
28+
"Graphic",
29+
"GraphicsOverlay",
30+
"MultilayerPointSymbol",
31+
"MultilayerPolygonSymbol",
32+
"MultilayerPolylineSymbol",
33+
"PictureMarkerSymbolLayer",
34+
"SolidFillSymbolLayer",
35+
"SolidStrokeSymbolLayer",
36+
"VectorMarkerSymbolLayer"
37+
],
38+
"snippets": [
39+
"src/main/java/com/esri/arcgismaps/sample/rendermultilayersymbols/MainActivity.kt"
40+
],
41+
"title": "Render multilayer symbols"
42+
}
74.9 KB
Loading

0 commit comments

Comments
 (0)