geojson library; geojson method for vector layer