Confusingly it's better to use a Vector layer than the old Marker layer type, even if you wanted markers. Vector layers are more flexible