Added code to "anchor" the map when adding or deleting parts.