helper functions for GlowMapView