Enable support for absolute radius (in meters instead of pixels), refactored code