loading for vector layers