What are those small red triangles on the mini map? [duplicate]

These red triangles are height difference indicators. They are always associated with another marker on the minimap, as you can see with the herb marker. Pointing down, it means the associated marker is below your current height (e.g. underground), vice-versa for upwards pointing triangles.