make layer switcher only after geojson has been loaded