# Polygon and line displays Maps can render polygons and lines based on your ontology objects. There are two ways to specify the line or polygon geometry to draw: * **Geoshape properties:** Display GeoJSON line and polygon geometries stored in a geoshape property on your objects. * **Line segment:** Display lines between two geopoint properties on objects. See [value-based styling](../visualize-objects/index.md#value-based-styling) for more information on how styling rules are configured, as well as color and opacity styling configuration. Polygons and lines can be styled with the following additional attributes. ## Stroke width Use the **Stroke width** section to control the width used when rendering lines, or the stroke of polygons that are not filled. ![Styling line width.](../../../assets/5208b09d61f647b996679d290f0bc62a822d8194c17933dc2b104fd0da7042e4.webp) ## Stroke style Use the **Stroke style** section to control the dash pattern used when rendering lines, or the stroke of polygons that are not filled. The available options are: | Solid | Dashed | Dotted | | ----------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | | ![Solid line.](../../../assets/d73fbf7f211ddd45b3f4b0f37fd91e668e03488964c417e32acc834bc975a597.webp) | ![Dashed line.](../../../assets/13d571aa1151bccb8b399e01082b384754b269d923ecc1c4cf132999e2455ffc.webp) | ![Dotted line.](../../../assets/0d74aa2cb1b4f425edb2cd136698209703ca511dddb1b89bcbe9f35491e1d2d9.webp) | For line segments, you can also configure arrows to indicate the direction of the line. ![Line segment with arrows.](../../../assets/f01cc6128f377b9834da48d75f9585fff778cec798d770794cac2f084649f9ba.webp) ## Fill polygons When **Fill polygons** is enabled, polygons render with a minimal stroke and their interior filled with the specified color. When disabled, the polygon is instead only stroked, using the styling configuration in **Stroke width** and **Stroke style**. | Fill enabled | Fill disabled | | --------------------------------------------------- | ----------------------------------------------------- | | ![Filled polygon.](../../../assets/921bab51f12e4006b4bd226ff90436f4d1867a220eef0dc42b8d6c04345d75be.webp) | ![Stroked polygon.](../../../assets/cac0e27c40bf6d53258d49783c58ba7831ea4d3803c391d80c3a98e9043741fc.webp) | ## Loading methods When displaying a large number of objects, polygon and line geometries can also support tile-based [loading methods](../objects-loading-methods/index.md).