float - Current cost of specified layer.
Gets the cost for traversing over geometry of the layer type.