Change Building Outline Color
Android v4
To change the building outline color, along with other display properties, you must get and modify the Building Outline Display Rule.
Note that the DisplayRule will be null if MapsIndoors is not loaded.
The parameter strokeColor
takes the color in ARGB format (with an alpha-channel value), the syntax being AARRGGBB
.
Note only the values listed below are respected:
polygonZoomTo
- Sets the maximum Zoom Level at which the Building Outline is visible.Call
setPolygonZoomTo
to change the value on the Display Rule
polygonZoomFrom
- Sets the minimum Zoom Level at which the Building Outline is visible.Call
setPolygonZoomFrom
to change the value on the Display Rule
polygonStrokeColor
- Controls the stroke color of the Building Outline.Call
setPolygonStrokeColor
to change the value on the Display Rule
polygonStrokeWidth
- Controls the stroke width of the Building Outline.Call
setPolygonStrokeWidth
to change the value on the Display Rule
polygonStrokeOpacity
- Controls the stroke opacity of the Building Outline.Call
setPolygonStrokeOpacity
to change the value on the Display Rule
polygonVisibility
- Controls whether the Building Outline is visible on the map.Call
setPolygonVisible
to change the value on the Display Rule
Last updated