Module map_model::edits[][src]

Once a Map exists, the player can edit it in the UI (producing MapEdits in-memory), then save the changes to a file (as PermanentMapEdits). See https://a-b-street.github.io/docs/map/edits.html.

Re-exports

pub use self::perma::PermanentMapEdits;

Modules

compat
perma

Structs

EditEffects
EditRoad
MapEdits

Represents changes to a map. Note this isn’t serializable – that’s what PermanentMapEdits does.

Enums

EditCmd
EditIntersection

Functions

fix_building_driveways

Recalculate the driveways of some buildings after map edits.

fix_parking_lot_driveways

Recalculate the driveways of some parking lots after map edits.

modify_lanes
recalculate_intersection_polygon
recalculate_turns