fix for toggle geomType when map was already there, also show point geoms with style function