Skip to main content

Point geometry

Define a single point

This geometry type defines a single point on the map. Use it to describe the location of assets whose size and shape is unimportant, e.g. bins, benches, street lights.

An item with point geometry displayed on the map

How to draw

When editing item geometry (or any other geometry field in Alloy), the Geometry Editor appears. The row of draw tools indicates which geometry types are allowed by the item's design (or the source of the field).

The draw tools are dimmed out if the relevant geometry type isn't allowed

Select the Point tool and then select your desired location on the map.

Demonstrating the Point tool in the Geometry Editor

Once a point is selected, the Point tool becomes dimmed to indicate that no further points can be added. To reposition the point, drag it to another location, or use the Erase tool to remove it and start again.

Select Done to save your changes.

Example GeoJSON

To access the underlying code of the current geometry, select Menu in the Geometry Editor and choose GeoJson view.

{
"type": "Point",
"coordinates": [-1.532528, 52.287515]
}