addStyleHook for VectorLayer