Marker logic for map